RE: [PHP] Form's : making me sick!
| From: | PACKER, Steffan | Date: | Tue, 13 Nov 2001 13:11:04 +0000 |
| Subject: | RE: [PHP] Form's : making me sick! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-74420@lists.php.net to get a copy of this message | ||
You cannot nest forms however if you set the action to the same page and
submit the entire form to itself, then you can use javascript to change the
action to the eventual target by using an onChange event on the final field:
<input type="text" name-"lastField"
onChange="document.formName.action='newAction.cgi'">
Hope this helps!
Steffan
-----Original Message-----
From: De Necker Henri [mailto:deNeckerH@ford.co.za]
Sent: Tuesday, November 13, 2001 1:10 PM
To: PHP-General (E-mail)
Subject: [PHP] Form's : making me sick!
I just want to know how to make a <form> inside a <form> get to respond or
dont make any browser errors?
It looks someting like this :
<form>
<input type = "text">
<input type = "text">
<form>
<select onchange = "this.form.submit();"> //This must
change the next <select> values !
</select>
</form>
<select>
//this values must be cahnge
</select>
</form>
Everthing is working fine but i just cant get the two forms to work
together.If i only can get some ideas on what action,or onchange values to
change it will be greatfull!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
_____________________________________________________________________
This message has been checked for all known viruses by the
MessageLabs Virus Scanning Service. For further information visit
http://www.messagelabs.com/stats.asp
****************************************************************************
DISCLAIMER
Any opinions expressed in this email are those of the individual
and not necessarily the company. This email and any files
transmitted with it, including replies and forwarded copies (which
may contain alterations) subsequently transmitted from the
Company, are confidential and solely for the use of the intended
recipient. It may contain material protected by attorney-client
privilege. If you are not the intended recipient or the person
responsible for delivering to the intended recipient, be advised
that you have received this email in error and that any use is
strictly prohibited.
If you have received this email in error please notify the Network
Manager by telephone on +44 (0) 870 243 2431.
Please then delete this email and destroy any copies of it.
This email has been swept for viruses before leaving our system.
Admiral Insurance Services Limited, Cardiff CF10 3AZ
****************************************************************************
_____________________________________________________________________
This message has been checked for all known viruses by the
MessageLabs Virus Scanning Service. For further information visit
http://www.messagelabs.com/stats.asp