You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to have a conditional hidde style accord the user selection

Accepted answer



I am building a web app that have a custom form with a lot of fields, these fields are dependent of another field with a choise list:

for example if you choose the card value, in the form you would be see only 3 fields, but if I choose the voucher value I would be see you see another two fields.

expected behavior :

I tried to customize the style attribute with a If sentence (some as $variables.tempType == 'CARD' ? visibility= hidden : visibility=visible) related with the field, but it does not work for me

I want to see only the related fields, I set a hidden visibility and I think is not my solution

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!