Checkbox Join


Joseph Caristena

Hi,

I am developing a simple Matrix Login.

But I just can not fix the join script between two checkboxes.

This time I need a quick solution.

Thanks
Joseph Caristena


decsoft

Hello Jopseh,

Take a look at the IfEx action help reference. We must write something like this:



Joseph Caristena

Hi David,
The Matrix Login is almost finished (the I will share it online to this community).
Basically it will have 10 numbers (from 0 to 9 digits).

If the 3 login code is correct then the user can proceed
to the next view form.

But there is a small issue still to fix.

How can I limit
only to 3 checkbox selections ?

In other words, if the user digits the right 3 login code
he will access the application.

But if the user digits all the 10 numbers, he will also
access the application.

So how can I limit only to 3 checkbox selections ?

Thanks
Joseph Caristena


decsoft

Hello Joseph,

I am try to understand what you wanted, however, it's difficult (at least to me) to offer a possible solution, because I can't figure exactly about what we are talking about. Please, Joseph, can you provide (attach it here) a minimum app sample in order to try it?



Joseph Caristena

Hi David,
The Matrix Login is almost finished (then I will share it online to this community).
Basically it will have 10 numbers (from 0 to 9 digits).

If the 3 login code is correct then the user can proceed
to the next view form.

But there is a small issue still to fix.

How can I limit
only to 3 checkbox selections ?

In other words, if the user digits the right 3 login code
he will access the application.

But if the user digits all the 10 numbers, he will also
access the application.

So how can I limit only to 3 checkbox selections ?

Here is the uploaded file:
LoginMatrix.zip

Thanks
Joseph Caristena


decsoft

Hello Joseph,

In fact the logic of your program works as expected. Your condition says: "If the 1, 2 and 3 checkboxes are checked, then allow the access". Then, if we check all the checkboxes, for example, this match the condition, and therefore the user can access.

What we can do? We can take in consideration all the checkboxes, just like I do in the below modification of your application:

LoginMatrix.zip

Probably we can also take another possible approach, because in software, normally we can take several ways to do the same. But for now you can take a look at the above modificated application. They only allow the access if only the 1, 2 and 3 checkboxes are checked, just like you wanted.



Joseph Caristena

Hi David,
This is a perfect login matrix form.
I really like it !!!

Best
Joseph Caristena


decsoft

You're welcome! :)


Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.