I have a form with a textfield whose visibility I want to control with a checkbox. My code for some reason would not work.
This is my code
if ( CheckBox1.rawValue == true )
rpl_nodename.presence = "visible";
rpl_nodename.presence = "hidden";
I know the logic works because I can put text in the textfield ( rpl_nodename.rawValue="this is a test"), but I cannot seem to get it change from hidden to visible
If the default Designer form type is not 'dynamic XML form' or the form is not saved as a dynamic XML form, the presence property will not be respected.
Thank you Steve. That did the trick.