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

checkbox says 'on' but I'd like 'yes' 1

Status
Not open for further replies.

doyle9732

Programmer
Apr 12, 2002
185
CA
I find myself, a Cold Fusion developer, trying to edit a formmail that uses php.

It is a canned program offered with our web host.

The form works great, but the recipient of the formmail can't seem to get her head around the yes/no checkboxes displaying 'on'. Is there a way to have it display 'yes'?

I read the .php file from start to finish but can see no place where it sets how the field will be displayed.

I intend to do some tutorials on php, but could really use some help now.

Many thanks!
Stephanie
 
You have to use <input type="checkbox" value="yes" name="???"> in the HTML, or have the page submitted to convert on to yes.

Lee
 
shame on me :-(

thank you for your speedy response! You're a superstar!

Stephanie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top