This is a discussion on "Form Submission page" within the Web Page Design section. This forum, and the thread "Form Submission page are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Form Submission page
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Form Submission page
Hi,
Was wondering if anyone could help. I have creatred a contact form using 'formmail'. Once the submit button has been hit, instead of going to another 'redirect' page, I would like a prompt box to appear and say "thank you for submitting the form" the user clicks 'ok' and returns back to the page. I have attached my html for the form. It would be great if someone has a solution. I look forward to your response. Thanks Mark |
|
|
|
#2
|
||||
|
||||
|
You could add an onclick confirm to the submit button.
<input type="submit" value="submit" name="submit" onclick="return confirm('Thank you for submitting the form')" /> When the click submit they will given the box, if they click cancel, the form will not be submitted. If they click okay, the form will be submitted and you can change the redirect page of the formmail to be the form again. Is that what you mean? Cheers
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
Last edited by Rakuli; Sep 3rd, 2007 at 16:08. |
|
#3
|
|||
|
|||
|
Re: Form Submission page
Here is a contact page with form validation
|
|
#4
|
|||
|
|||
|
Re: Form Submission page
The action part of your form is where the submission takes place. In order for the form to be submitted, it needs to go to the URL where the script is.
In order for the form to be useful, it needs that server side script. But you can display messages on failure or success and redirect. What I think is the best is to have your PHP/ASP script page laid out just like your site. That way it has your navigation and the user can decide where they would like to go next. Or even have additional content on that page trying to lure them to other sections of your site. Good Luck, Scott
__________________
Web Design and Development |
![]() |
| Tags |
| form, page, submission |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Form Submission List Builder | jb1984 | Web Page Design | 2 | Dec 12th, 2007 18:10 |
| form submission and mailing problems........aaaagh | Gerry | Web Page Design | 3 | Mar 15th, 2007 10:27 |
| form submission with Javascript | ktsirig | JavaScript Forum | 1 | Dec 18th, 2006 21:16 |
| Problem with Form Submission Page | NewDesigner | Web Page Design | 4 | Oct 6th, 2006 09:36 |
| About form submission with Dreamweaver | a.jenery | Web Page Design | 8 | Feb 7th, 2006 11:20 |