Results 1 to 4 of 4

Thread: Required information on email forms HELP!

  1. #1
    Join Date
    Jun 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Required information on email forms HELP!

    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.
    Last edited by colrcrzy; 06-23-2006 at 01:58 PM.

  2. #2
    Join Date
    Jun 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

  3. #3
    Join Date
    Sep 2004
    Location
    Little Falls, Roodepoort, South Africa
    Posts
    421
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    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 and then view page source you will see the full coding etc.

    If your using .php then I could provide the coding as well.
    Very Best Rgds, Simonf :cool:
    __________________________________
    My Site | E-Mail Me

  4. #4
    Join Date
    Jun 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up will give these a try-thanks!

    using formail, will definately give these a try-much thanks!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •