I’m trying to set visibility of some fields of my form. I’ve created boolean properties for each field to set the visibility of them as the user changes the value of “Tipo” field. When the user selects a value of the “Tipo” field then form0Change event is fired an the visibility of the fields are changed as expected. The problem is the value of the “Tipo” field is lost. You can see the code below.
I created a simple application that successfully hides form fields based on a dropdown value. Could you modify that application so it starts behaving as in your case?hide-form-fields.zip (3.7 KB)
I have tested and the behaviour of Korchev’s code is the same: after selecting dropdown value the field becomes visible but dropdown value resets to null.
Quick update. This turned out to be a missing feature/implementation detail. When you hide or show a form field it reinitializes the form which in turn loses the current state unless the Data property and UpdataDataOnChange are set. We will try to address that.
Hi. Was this addressed. My entire prototype that I need to complete in advance of purchasing multiple licenses - is based on this requirement. Thank you.