Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text form visible when radio button clicked

Status
Not open for further replies.

pinto19

Vendor
May 22, 2005
29
US
Hello all,
Could I please pick your brain for a little bit. I am creating an asp page using FP. I have a field when one of the option is send information by: 3 choices (By email, By fax and By Mail). I want them to be able to click on one of the radio button and depending on which option they click, a corresponding text box comes open (if email, box opens to type email address and so on).
Any ideas how to do this would be appreciated.
Thanks
 
Call a JavaScript function on the click event and then manipulate the DOM accordingly.
 
I really dont know much programming, have been able to do basic stuff using FP, such as making forms to gather data, use form results to show on web pages, make changes to database etc.
 
Yeah you need to look into the onclick event for the radio button. THis is a javascript thing.
The way to do it is have a function that is called when you click a radiobutton that changes the visible property of your text box from hidden to visible

may help

}...the bane of my life!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top