Welcome visitor
* Login
* Register
It is currently May 19th, 2019, 8:23 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 3 posts ] 
Author Message
  submit 2 pages form at once
PostPosted: July 22nd, 2009, 9:08 pm 
User avatar

Posts: 52
hi, i have a form in 2 pages that is sent to my mail, im not using server side on this. You cant go to the second page until you fully fill the first one. Now i need to know how to send the form. I have the submit at the end of the second page and i want to submit both pages, can you teach me how?


Top
 Profile  
 
  Re: submit 2 pages form at once
PostPosted: July 23rd, 2009, 12:05 am 
User avatar

Posts: 71
why dont you put everything into one single page?


Top
 Profile  
 
  Re: submit 2 pages form at once
PostPosted: July 23rd, 2009, 12:14 am 
User avatar

Posts: 137
see if this works. Put all the content of the first page inside one div and the same with page two. Then make a link or a button to go to the second page, but what this is going to do is hide the div of the first page and show the div with the second page fields
onclick="document.getElementById('firstDiv').style.display='none';
document.getElementById('secondDiv').style.display='inline';"
by doing this you dont need to pass values from one page to another and everything will be sent as if it was a one page form.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron