var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Make field visible when option selected
I'm trying to make a form where certain fields are invisible unless one of 4 options is checked. Any ideas?
you should add this line into afterupdate events of your option controls. anyway I assumed your option controls are using boolean value.
YourCertainControl.visible=(option1 and option2 and option3 and option4)
Control Visible when option is true
Can anyone help with this? This suggestion doesn't seem to be doing the trick.
Try the following:
Add this to your afterupdate events of your option group.
If Me.OptionGroupName.Value = 4 Then
Me.txtBox.visible = False
Me.txtBox2.visible = False
Me.txtBox.visible = True
Me.txtBox2.visible = True
Good morning ngu0018,
Very nicely put. And wanted to say Welcome to the Forum It helps in the forum when you lay your explanation out in explicit steps that way. That's how I try to do it also. Anyway, just wanted to shake your hand and welcome you.
have a nice day,
How do I get this to work with multiple options? I tried doing cases, but that failed, and I've tried doing this statement for each option and it failed.
Originally Posted by