Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text display after form submission

Status
Not open for further replies.

martim07

Technical User
Nov 6, 2004
9
US
Hi,

I have a contact form that I have built into my site, and I have two questions. I am interested in seeing some code samples or in receiving the location of a good tutorial.

After a user inputs their contact info and clicks the submit button, the information pops up for me in the standard "process.jsp" form. I want to know how to have the input fields disappear after the user submits so that "Thanks for your input" is the only thing displayed on the screen. Am I making this too complicated? Is just and onclick function?

Question 2 is a bit more involved. After a user submits info and the process.jsp action is executed, how do I have this automatically send me an email? There must be code samples out there, but all of the after-input form tutorials that I have seen involve password validation.

Thank you very much in advance for any ideas.
 
Okay, ignore my first question above. It is not what I meant to ask.

As far as the email, I can use a JavaScript function with mailto used onsubmit, but this pops an email dialog. I want the email of the data to be invisible to the user.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top