|
#1
|
|||
|
|||
|
posting form
Hi,
I have one simple question. So if we have simple form with post method, something like PHP Code:
|
|
#2
|
||||
|
||||
|
Use a second php page for form submissions. Basically action="submit.php"
At the end of submit.php redirect back to the form page with a message for confirmation or error. Essentially the user never sees submit.php it just processes the form then throws them back to the form. Since there's no form processing on the form, you wont' get the warning about resubmitting.
__________________
Scott Moderator : Macintosh : Website & Graphics Adobe Certified Expert: Illustrator Royalty-Free Vector Stock Art |
|
#3
|
|||
|
|||
|
it's possible, but I hate that in this case I would need to create new page for each form. But what would back button do in this case?
|
|
#4
|
||||
|
||||
|
You can create 1 page and use different post variable for each form. Not 100% certain about back button behavior. Theoretically it would simply show the form before it was submitted.
Another option is to simply clear all post variables after processing the form.
__________________
Scott Moderator : Macintosh : Website & Graphics Adobe Certified Expert: Illustrator Royalty-Free Vector Stock Art |
|
#5
|
|||
|
|||
|
how would I clean them? I can't just do:
PHP Code:
|
|
#6
|
||||
|
||||
|
PHP Code:
__________________
Scott Moderator : Macintosh : Website & Graphics Adobe Certified Expert: Illustrator Royalty-Free Vector Stock Art |
![]() |
| Bookmarks |
«
Previous Topic
|
Next Topic
»
| Topic Tools | |
|
|
All times are GMT +1. The time now is 01:31 AM.
[
RSS ]








