Hello
How can I make a "back" button on before send page if user want to make some correct in text he was just write in form without lose data which he write on prevorius page?
How can I make a "back" button on before send page if user want to make some correct in text he was just write in form without lose data which he write on prevorius page?
actually the form page is only one page and mail is sent on submitting it, from which page you want to get back ?
ok, it's like that:
1) main form page - user select the option and in some part write some text ------> button submit
2) page before form send - table with all information which user write on main form page - it's only for user for check is he write everywhere good information --------> submit and form is sending
the question is that: can i make button beck on "2) page before send" - when user see some mistake he click on button back, form is goes to "1) main page form" and user can correct the form
i find something:
and one more thing, on "1) main form page" i click on submit he goes to "2) page before from send" but form is sending - something is wrong like the name in menu "on submit before send" so it shuldn't send form on email on pae "2)"
1) main form page - user select the option and in some part write some text ------> button submit
2) page before form send - table with all information which user write on main form page - it's only for user for check is he write everywhere good information --------> submit and form is sending
the question is that: can i make button beck on "2) page before send" - when user see some mistake he click on button back, form is goes to "1) main page form" and user can correct the form
i find something:
<input type=button value="< ZmieĆ" onClick="history.go(-1)">
and it's working but when it's go back form it's clean and user must write every thing one more timeand one more thing, on "1) main form page" i click on submit he goes to "2) page before from send" but form is sending - something is wrong like the name in menu "on submit before send" so it shuldn't send form on email on pae "2)"
how did you create the page before send ?? how do you show the user his data ?
make a table with all position like in "1) main form page"", in cell i use link to variables like that <?php echo $_POST['variable'] ?>. USer can see is that what he write is correct.
good, now the 2nd page has a submit button ? how do you keep data inside it ? hidden fields ? also, does the 2nd page is a complete new form or just some onsubmit code ?
This topic is locked and no more replies can be posted.