Joomla 5 Notice

We are pleased to announce that as of January 29, 2024, all of our Joomla extensions are compatible with Joomla 5.

For all who are still updateing from Joomla 3 to Joomla 4: Joomla 4 Migration instructions are available here:

There is now a separate Documentation for Visforms for Joomla 4 and for Visforms for Joomla 5!

Forum

Visforms Subscription user can ask questions in our forum. Please log in with the relevant user first.
Everybody can access the forum for reading.

Please only ask 1 question per topic.

Important information for almost every question:
V1: Which Visforms version is running?
V2: Which Joomla version is running?
V3: Which PHP version is running?

Calculation field, test value

More
1 week 6 days ago - 1 week 5 days ago #11319 by Administrator IV
Replied by Administrator IV on topic Calculation field, test value
Hello Geert,

Together with your additional information, I think I can provide you with the math.

Code:
- with STAALNR   = 100*INO + CNO INO       = round(([STAALNR]/100)-0.5) 100*INO   = ([STAALNR]/100)-0.5)*100 CNO       = [STAALNR]-100*INO - follows 0 == ([STAALNR]-round(([STAALNR]/100)-0.5)*100) - (round(([STAALNR]/100)-0.5)-round((round(([STAALNR]/100)-0.5)/97)-0.5)*97) 0 == ([STAALNR]-round(([STAALNR]/100)-0.5)*100) - (round(([STAALNR]/100)-0.5)-round((round(([STAALNR]/100)-0.5)/DNO)-0.5)*DNO) 0 == ([STAALNR]-100*INO) - (round(([STAALNR]/100)-0.5)-round((round(([STAALNR]/100)-0.5)/DNO)-0.5)*DNO) 0 == ([STAALNR]-100*INO) - (INO-round((INO/DNO)-0.5)*DNO) 0 == (CNO) - (INO-round((INO/DNO)-0.5)*DNO) - with: INOc = INO cleared off the remainder of DNO, so that INOc rem DNO = 0 INOc = round((INO/DNO)-0.5)*DNO - follows: 0 == CNO - (INO-INOc) - with: INOr = INO remainder INOr = INO-INOc - follows: 0 == CNO - INOr


With the above transformations, the factual connection has become more or less clear.
And in my opinion, it is correct so far.
The formal calculation based on the underlying values ​​INO, CNO, and DNO is therefore as follows:
0 == (CNO) - (INO-round((INO/DNO)-0.5)*DNO)

Question 1:
Do you agree with the calculations and the illustration, and what do you think about them?

A request in the form of Question 2:
Could you please evaluate how widespread this control method actually is (institutions actually using it)?

Re: Asian hornet.

You are performing a really important and great work.
The Asian hornet 'vespa velutina' has also spread to Germany.
In France, attempts are being made to combat the Asian hornet, among other things, through large-scale trapping operations using baited bottles.
Such a practice would not be permitted in Germany, as native and endangered insects might also die in the bottles.

Best regards, Ingmar Vack

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).
Last edit: 1 week 5 days ago by Administrator IV.

  • geert@huizechaos.be
  • Topic Author
  • Offline
More
1 week 5 days ago #11323 by geert@huizechaos.be
Replied by geert@huizechaos.be on topic Calculation field, test value
Hello Ingmar,
I don't fully understand the 'pseudocode', I suppose it is some kind of formal language? I'm fluent in Pascal, VHDL, C++ and Assembler....
I'll have a look at the formal calculation, providing the bees stay calm tomorrow...
As for the Asian hornets, we developed hornet traps that cost 5€, based on a commercial item. We modify them to calibrate the inlet to 8.5mm, provide 7mm escapes for 'other' insects and avoid a 'pool' inside the trap wherein insects would drown.
On the side, I'm also working on a 'smart' trap where a camera with AI identifies an Asian hornet and then kills it by firing a 5W laser beam, all powered by a solar panel and some batteries. No kidding.... I'm a retired engineer but I work harder than before...

More
1 week 3 days ago #11339 by Administrator IV
Replied by Administrator IV on topic Calculation field, test value
Hello Geert,

It's not pseudocode.
It's simple mathematics.
Mathematics that I regularly used as a student and employed physicist to clarify and understand things.

The calculation:
- clarifies what the individual parts of your original formula mean,
- converts your original formula step by step and in a comprehensible manner into the required representation using the basic quantities INO, CNO, and DNO,
- clarifies the prerequisites for implementation in Visforms, at least for me,
- clarifies possible configuration settings in a Visforms implementation, at least for me.

All that remains is the question as a request to you.

A request in the form of Question 2:
Could you please evaluate how widespread this control method actually is (institutions actually using it)?


Re: provide 7mm escapes for 'other' insects and avoid a 'pool' inside the trap wherein insects would drown.
That's really great!

Re: Working on a 'smart' trap.
As a physicist and a nature lover, I completely support you.
I think this is a compelling approach with
- great innovation potential,
- widespread acceptance potential.

Best regards, Ingmar

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).

  • geert@huizechaos.be
  • Topic Author
  • Offline
More
1 week 3 days ago - 1 week 3 days ago #11342 by geert@huizechaos.be
Replied by geert@huizechaos.be on topic Calculation field, test value
Hi Ingmar,
Where it is used? All Belgian bank account numbers are protected this way. I don't know about credit card numbers, there the expiry date seems to be 'hashed' in.
Belgian 'national numbers' are protected in the same way.
The ISO/IEC_7064 standard defines the MOD-97-10 algorithm that is used.
See here how it is used :  en.wikipedia.org/wiki/International_Bank_Account_Number
Cheers,
Geert
Last edit: 1 week 3 days ago by geert@huizechaos.be. Reason: Correction

More
6 days 11 hours ago #11344 by Administrator IV
Replied by Administrator IV on topic Calculation field, test value
Hello Geert,

Thank you for your information and the link.
We will implement the new field type.

I've created a development issue in the wishlist:
Issue [VF-1400] Forum: New Field Type: Protected number

When we release the new feature, you will be explicitly informed about the release in this topic.
Thanks again for your suggestion!

Cheers, Ingmar

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).

  • geert@huizechaos.be
  • Topic Author
  • Offline
More
3 days 34 minutes ago #11381 by geert@huizechaos.be
Replied by geert@huizechaos.be on topic Calculation field, test value
Hi Ingmar,
Nice to hear the feature will be implemented. My primary problem was to block the form from being submitted if the protected number does not check. I suppose this will be part of the implementation...
Cheers,
Geert

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum