PC Review


Reply
Thread Tools Rate Thread

Creating Condition If Then Statements on a Mail Form

 
 
=?Utf-8?B?Rm9vbGlv?=
Guest
Posts: n/a
 
      15th Mar 2004
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.
 
Reply With Quote
 
 
 
 
Mark Fitzpatrick
Guest
Posts: n/a
 
      16th Mar 2004
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.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sql Statements where condition =?Utf-8?B?Sk9N?= Microsoft Access 0 14th Dec 2005 10:42 PM
RE: Sql Statements where condition =?Utf-8?B?eFJvYWNoeA==?= Microsoft Access 0 14th Dec 2005 10:42 PM
RE: Sql Statements where condition =?Utf-8?B?Sk9N?= Microsoft Access 0 14th Dec 2005 08:36 PM
RE: Sql Statements where condition =?Utf-8?B?eFJvYWNoeA==?= Microsoft Access 0 14th Dec 2005 08:27 PM
condition statements =?Utf-8?B?QXJsZW5l?= Microsoft Excel Worksheet Functions 1 21st Apr 2005 01:47 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:59 AM.