Jump to content

Recommended Posts

Hi Guys,

 

I have a situation in here regarding forms.

 

I have 3 different forms, each one with it's own MySQL table

to be filled by a single user but instead of having 3 submit buttons for each form i want to have

one submit button for all the 3 forms.

 

In other words:

After filling the third form the user hits submit button and it sends the data on the first, second and third form to

each correspoding table.

 

How can i structure this?

Link to comment
https://forums.phpfreaks.com/topic/135656-one-submit-button-for-3-forms/
Share on other sites

premiso's idea is a very nice one, I've used it on a big registration form before that split into 7 parts. Little bit of javascript can make it go a long way!!

 

Also setting <a name="form-part2"></a> and in the link that opens the next section have #form-part2 as the link and return true will show the second part and move the page down for you, otherwise you can find your user will end up at the top of the page bot times they reveal more of the form!

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.