c_pattle Posted September 25, 2010 Share Posted September 25, 2010 I was wondering if anyone knows a way where you can submit a form but content of the input fields will not be cleared? The reason why I want to achieve this effect is because I have a form and I want to user to be able to preview the results before properly submitting the form. Therefore I will have two submit buttons, one to preview and one to submit. Thanks for any help. Quote Link to comment Share on other sites More sharing options...
litebearer Posted September 25, 2010 Share Posted September 25, 2010 sledge-hammer approach... 1st processing page is in effect an 'editpage' - it is almost an exact duplicate of the original form page however the POST variables are used as the values of the form fields Quote Link to comment Share on other sites More sharing options...
c_pattle Posted September 25, 2010 Author Share Posted September 25, 2010 Thanks, yeah that would work. I may use AJAX though to create a better effect, I guess if I did this I'd just use JavaScript to pull the text from the input fields? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.