You would have to do this with JavaScript. There should be some script
examples at: javascript.internet.com. What you can do is set an onclick
event for the yes button that calls one function and sets whether or not
certain form fields are enabled by passing a boolean value to the function
and just setting the enabled property for the form fields to that boolean
value. You can call the same function from the onclick of the no option just
passing the opposite boolean value.
Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
"Foolio" <(E-Mail Removed)> wrote in message
news:CBB32C0D-67AA-4483-B4AB-(E-Mail Removed)...
> Basically I would like to create a if then statement on a form, not quite
sure how it works tho...
>
> I have two option buttons, Yes and No.
>
> I would like to make my fields grey'ed out if possibly and when the user
clicks Yes, the text fields and drop down selection boxes become available
to use.
>
> Thanks for the hlep.
|