cancel
Showing results for 
Search instead for 
Did you mean: 

making a form visible / invisible based on the user input

Former Member
0 Kudos

Dear experts.....

Greetings.

I have two form views which are being connected by a submit action....The first view contains user_id and password input fields....I want the second view to be visible only if the user enters correct id and password....I tried giving condition in "visible" attribute of the second form.

My condition is =BOOL(out2@user_id=="sathya").....still the second form is visible when I execute the model....... Please suggest me a solution.

Thanks and regards

Sathya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sathya,

Try

 =IF(out2@user_id=="sathya", true, false) 

Let me know if it helps.

Regards,

Dharmi

sathyags
Active Participant
0 Kudos

Hey...

That worked...

Thank you

Sathya

sathyags
Active Participant
0 Kudos

I have another query....

As I mentioned b4...i have two fields in my first view....only if both of them are true...I want the second view to be displayed...I can not give two if conditions....in this case how can I proceed?

Thanks in advance.

Sathya

Former Member
0 Kudos

Hi Satyha,

Try,


=IF(out2@user_id=="sathya"&&out2@pwd=="sathya", true, false) 

Regards,

Dharmi

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sathya,

If you only need a boolean expression you can also do something like this:

=(out2@user_id=="sathya"&&out2@pwd=="sathya")

Regards,

Eitan