Jump to content

Form inside a form


mitchw_17

Recommended Posts

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.
Link to comment
Share on other sites

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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.