Results 1 to 2 of 2

Thread: Validate A Form Field With A Word

  1. #1
    puppetpimp is offline New Member: Posts Will Be Moderated
    Join Date
    May 2011
    Posts
    1

    Validate A Form Field With A Word

    I am trying to have a simple 1 text box form.
    If the person types in the correct term (promo code)
    the confirmation page directs them to the promo page.

    If they enter an incorrect term and hit submit, it can either have a javascript popup, or direct them to a "sorry" page whatever.

    I used to do this very easily with (gasp) Frontpage, but no one allows extensions anymore

  2. #2
    locpicker is offline New Member: Posts Will Be Moderated
    Join Date
    May 2011
    Posts
    3
    You can use javascript to do this for you. It can check the submitted information for you and act on if it is true or false.

    I do not have the code right off the top of my head but you should be able to find it very easily.

Similar Threads

  1. Validate form prior to sending to mail processor
    By CrazyEight in forum General Questions
    Replies: 1
    Last Post: 22 Apr 2010, 08:43 PM
  2. Email form validate a simple sum ? ? ?
    By Websiteking in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 27 Jun 2008, 06:15 AM
  3. how do I validate fields for this multi page form
    By dude9er in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 15 Jan 2006, 12:18 AM

Posting Permissions

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