HighDots Forums  

Values and Forms

alt.html.writers alt.html.writers


Discuss Values and Forms in the alt.html.writers forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
MaryJo
 
Posts: n/a

Default Values and Forms - 12-29-2003 , 08:41 AM






I need a value returned from a form does anyone know how to do that ???

<input type="hidden" name="DEFN" value="">

I need this value above populated with a value (Company Name - that I click
on) in my form.

Please help

Kind Regards
MJ



Reply With Quote
  #2  
Old   
Friendly
 
Posts: n/a

Default Re: Values and Forms - 12-31-2003 , 03:49 AM






On Mon, 29 Dec 2003 16:41:19 +0200 MaryJo scrawled this disquisition:

Quote:
I need a value returned from a form does anyone know how to do that ???

input type="hidden" name="DEFN" value=""

I need this value above populated with a value (Company Name - that I
click on) in my form.
"Hidden" fields are just that --- Hidden so the user doesn't input
information into them. They're used to pass additional information to
your script about what to do with the form.
i.e. <input type="hidden" name="SENDTO" value="MaryJo (AT) company (DOT) com">

If you want your user to select from a choice of multiple companies and
all you want is the company name then use either radio buttons or a select
list.

Choose one: <br />
<input type="radio" name="DEFN" value="ABC Company" />ABC Company <br />
<input type="radio" name="DEFN" value="DEF Conglomerate" />DEFConglomerate<br />
<input type="radio" name="DEFN" value="XYZ Corporation" />XYZ Corporation<br />

OR <br />
Pick a Company of Interest: <br />
<select name="DEFN">
<option>ABC Company</option>
<option>DEF Conglomerate</option>
<option>XYZ Corporation</option>
</select>

The value is auto set to the option unless you use a separate value tag for
each option making the option simply a label.

FS


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.