- Joined
- Jun 1, 2010
- Posts
- 548
- Reaction score
- 2
I'm getting fairly familiar with most of xhtml and css now. The one basic area I probably don't know as much as I should about is forms. I have a couple of questions..
I have a newsletter form which has, inside the input boxes, what it is that should be input, eg. one says 'name' inside it and the other 'email'. However when you click inside the input the boxes to type your name and email, you have to manually delete 'name' and 'email'. Is there a way of making it disappear on click without using js?
And my second question is.. I have set out a form on my site for placing an advert. Once this form is filled in and submitted it goes to my email for verification before I manually post it on the site. My problem is, once you click the submit button it just opens your default email client as would any other 'mailto:' link. This doesn't come across very professional and also rules out people using a webmail address such as hotmail.
How do I make the form automatically send the information to my address on submit instead of opening an email client? Something like where you click submit you just get temporerily redirected to a page saying 'thank you for submitting a listing' before going back to the ads page. I guess this is usually done by saving to a database rather than email maybe..?
I have a newsletter form which has, inside the input boxes, what it is that should be input, eg. one says 'name' inside it and the other 'email'. However when you click inside the input the boxes to type your name and email, you have to manually delete 'name' and 'email'. Is there a way of making it disappear on click without using js?
And my second question is.. I have set out a form on my site for placing an advert. Once this form is filled in and submitted it goes to my email for verification before I manually post it on the site. My problem is, once you click the submit button it just opens your default email client as would any other 'mailto:' link. This doesn't come across very professional and also rules out people using a webmail address such as hotmail.
How do I make the form automatically send the information to my address on submit instead of opening an email client? Something like where you click submit you just get temporerily redirected to a page saying 'thank you for submitting a listing' before going back to the ads page. I guess this is usually done by saving to a database rather than email maybe..?