#1 2016-05-30 22:05:11

EGovMetrics
Member
Registered: 2016-05-21
Posts: 39

Checkbox Join

Hi,

I am developing a simple Matrix Login.

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

IfEx "[Checkbox01.Checked]" "==" "checked" && "[Checkbox02.Checked]" "==" "checked"

  ReplaceView "View3"

Else

  AlertBox "Please, valid code" "warning"

EndIf

This time I need a quick solution.

Thanks
Joseph Caristena

Offline

#2 2016-05-30 22:11:02

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: Checkbox Join

Hello Jopseh,

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

IfEx "([Checkbox01.Checked] == 'checked') && ([Checkbox02.Checked] == 'checked')"

  AlertBox "Both checkbox are checked!" "info"

EndIf

Offline

#3 2016-05-31 03:30:34

EGovMetrics
Member
Registered: 2016-05-21
Posts: 39

Re: Checkbox Join

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

Offline

#4 2016-05-31 12:15:23

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: Checkbox Join

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?

Offline

#5 2016-06-05 19:19:43

EGovMetrics
Member
Registered: 2016-05-21
Posts: 39

Re: Checkbox Join

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

Offline

#6 2016-06-06 00:11:25

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: Checkbox Join

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.

Offline

#7 2016-06-06 15:36:32

EGovMetrics
Member
Registered: 2016-05-21
Posts: 39

Re: Checkbox Join

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

Best
Joseph Caristena

Offline

#8 2016-06-06 16:48:44

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: Checkbox Join

You're welcome! smile

Offline

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.