View Full Version : Required information on email forms HELP!
colrcrzy
06-23-2006, 01:23 PM
What coding do you use when you need email forms to have required information? For example: I want the URL and Company name to be a required entry before the form can be sent.
Diego
06-24-2006, 05:43 AM
Hey there,
for form validation, you can use any scripting language out there; just depends on what your server supports. The quickest way is to create the validation on the client side, using javascript you can define parameters for this...check out hotscripts.com for tutorials and examples. If you're need to secure your form from the types of people that like to try to inject code into it and send emails and all types of stuff, you should look into validation on the server side, php and asp can do this for you.
_good luck
simonf
06-24-2006, 07:43 AM
Hi
Are you using formmail??? if so this command
<input type=hidden name="required" value="email,phone"> would work if you go to this URL (http://www.chriskotze.co.za/webrequestdata.html) and then view page source you will see the full coding etc.
If your using .php then I could provide the coding as well.
colrcrzy
06-24-2006, 01:38 PM
using formail, will definately give these a try-much thanks!
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.