Does anyone know of a way to Hide a field based on Control ID not on the field name itself?
I’m looking to have a set of 3 combo boxes to have different options but to save to the same field… *only one of the 3 combo boxes will show based on what is set to a different field… does anyone know a way to achieve this?
well… the property is “hidden”… So you can play with both sides of that boolean.
If you set that to TRUE, then its hidden.
If you set it to FALSE, then it will be visible.
Not really sure I understand the question… but if you have (3) components A, B, & C.
You set them all to hidden by default (in the control’s properties). They should be all hidden when you load the form.
Then in your event, you can add a property-set to update Control B to hidden = false… and Control B will appear. But controls A & C should remain hidden.
I think you could also accomplish the same thing by tying your three combo boxes to transview fields and then add an event before save to update the field you want to write to with whichever transview field got populated. This would let you do the field hiding using row rules instead of event widgets.