Jump to content

Form inside a form


mitchw_17

Recommended Posts

No, not passing variables through to another form. What I want is the user to click on a button in the form and be redirected to another page. I have tried the onClick button but still doesn't work

[!--quoteo(post=354516:date=Mar 13 2006, 02:50 PM:name=Masna)--][div class=\'quotetop\']QUOTE(Masna @ Mar 13 2006, 02:50 PM) [snapback]354516[/snapback][/div][div class=\'quotemain\'][!--quotec--]
I'm a bit confused...are you trying to submit some variables in a form, to another form? If so, just do it as you regularly would, but implement the $_POST array of variables into the second form, as hiddens if need be.
[/quote]

Link to comment
https://forums.phpfreaks.com/topic/4833-form-inside-a-form/#findComment-17019
Share on other sites

[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]I want the user to be able to click on a button located within the form and be took to a seperate page[/quote]
are you talking about having two separate submit buttons?
I couldn't think of any reason to have a nested form, seems kinda redundant....only reason I could think of is if you wanted to make a certain field mandatory which can be done with a CGI/Javascript anyway.
Link to comment
https://forums.phpfreaks.com/topic/4833-form-inside-a-form/#findComment-17145
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.