Hi all, I put some initial values in a form field to help the user, i use php to extract the form data and send it via email. How do i get the initial value in the text field to stop appearing in the email. example, I have a name tag Town and the initial value I have shown that I want in that form field is Town. You can delete the initial value and then type the Town name, but i don't want users to have to do this.
I get Town name tag supplied but I also get
"Town: TownInverness" supplied by email, how do i stop the initial value been collected?
does this make sense?
thanks
stealthmode 0
Newbie Poster
Recommended Answers
Jump to PostHi..
According to what you have written in your post, i'll suggest you to use Javascript for this purpose..
When someone clicks on the text box, the initial value in it gets empty (town in this case), and then the new value entered by the user will appear in the …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.