|
Question on creating form
I have a simple form that asks for a persons name and email address to sign up for a newsletter. In my newsletter script, when you want to insert a persons name in a mailing, you use a variable string such as [[FIRSTNAME]].
The problem is that if a person types in their name uncapitalized, thats exactly how the script outputs it. So in some of my mailings it starts like this:
mike, or Dear mike, - very unprofessional. How can I have my form capitalize the name input field before submitting it to my newsletter script regardless of what the user inputs. I have searched all the input attributes to no avail. I suspect it will have to be manipulated with Javascript. Any help will be appreciated.
|