AnsweredAssumed Answered

Control of the visibility of form fields.

Question asked by savo on Aug 21, 2018

Hey,

 

Is it possible to change form field's visibility dynamically, based on a value of form field (in the same form). 

 

I have tried to achieve this by creating a form variable varA, and using forms JS I am setting that variable to the value of my controlling input field. In the visibility of the optional field I have configured it to be shown only when varA is not equal to 'hide', but when I input 'hide' and, using formFieldValueChanged event, change the varA to 'hide' the optional field still remains visible.

 

Is it possible to do this from the form configuration?

Outcomes