Forum Moderators: open

Message Too Old, No Replies

Submit Form yet not change page.

         

Capital_C

6:33 am on Dec 11, 2008 (gmt 0)

10+ Year Member



I have a simple form that needs to send an email address, but I don't want it to change pages when this is done. I figure a simple javascript solution will do this.

Question:
How can I submit the form and then just close the text box to say "Thank you for your submission" after that has been submitted?


thanks. A tutorial or pointing out the objects & calls to use should be enough to point me in the right direction.

lavazza

6:51 am on Dec 11, 2008 (gmt 0)

10+ Year Member



When it changes pages, it doesn't merely go to any random page, yeah? It goes to a page specified somewhere in the code

Find the relevant line of code (possibly in a CGI_PHP script?), edit it so that 'on success' it points to the current page, and hey presto :)