![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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 |
#3
| |||
| |||
|
|
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. |
#4
| |||
| |||
|
|
In article <bspebd$edcrc$1 (AT) ID-219265 (DOT) news.uni-berlin.de>, MaryJo says... 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. If you were to use PHP: "company.php" ?php if ($company) { (put form opening stuff here) print("<input type=\"hidden\" name=\"DEFN\" value=\"$company\">\n"); (put form closing stuff here) } else { print("<p>Please choose a company:</p>\n"); print("<p><a href=\"company.php?company=A\">Company A<br/>\n"); print("<a href=\"company.php?company=B\">Company B</p>\n"); } ? Something like that. All you need to do is pass a variable "company" to a PHP script, then have the variable included in the value of your hidden input. -- Daniel Ruscoe http://www.dualstone.co.uk |
![]() |
| Thread Tools | |
| Display Modes | |
| |