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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NON PROGRAMMER NEEDS A LITTLE HELP

Status
Not open for further replies.

ADEMAR

Programmer
Apr 20, 2002
43
US
I have a form with a mixture of radio buttons and text boxes. I need a very basic script/routine to have each radio button enter in a value in a text box physicaly. My example of what I would need is the following.

Radio button 1 unchecked displays "$500" in text box 1
Radio button 1 checked displays "$550" in text box 1

I think if I could get an example of this I could manipulate to work for me.

Thanks, Adam
 
This is a bit of Visual Basic, but, with some modifications, could be used an ASP (which uses VB or Javascript).

If Me.optField = True Then
txtField.Value=$550

Else
txtField.Value=$500

You can go to a site like for some examples of ASP (the site gives examples using VB).

Linda Adams
Linda Adams/Emory Hackman Official Web site Official web site for actor David Hedison:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top