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 codeif (
CheckBox1.rawValue == true ) rpl_nodename.presence = "visible"; else
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 visiblePlease help.