Results 1 to 3 of 3

Thread: Required Fields not working?

  1. #1
    Join Date
    Jun 2004
    Posts
    6

    Default Required Fields not working?

    Required Fields doesn't seem to working for me... have posted a sample form below which displays the error even when the one n only checkbox has been checked...

    universalgifts.com.sg/gch/bare DOT html (sorry don't want any spambots coming!)

    can anyone see what the issue is? thanks!

  2. #2
    Join Date
    Dec 2003
    Posts
    3,980

    Default Re: Required Fields not working?

    Change the following line:

    Code:
      <input type=hidden name="required" value="Pref-Mode-Reason[]">
    to

    Code:
      <input type=hidden name="required" value="Pref-Mode-Reason">
    The field name is "Pref-Mode-Reason", the "[]" is simply to tell PHP that it should be treated as an array.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    Jun 2004
    Posts
    6

    Thumbs up Re: Required Fields not working?

    thanks russell! that solved the prob

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. required fields
    By darren777 in forum FormMail Subscription Support
    Replies: 2
    Last Post: 04-Mar-2005, 09:37 AM
  2. Required fields containing default text
    By tvulucy in forum FormMail Subscription Support
    Replies: 9
    Last Post: 08-Oct-2004, 09:26 PM
  3. Deriving fields from other fields
    By russellr in forum HOWTO Guides and Tips
    Replies: 0
    Last Post: 13-May-2004, 12:25 PM
  4. required field error
    By Ibis in forum FormMail Subscription Support
    Replies: 18
    Last Post: 02-Mar-2004, 09:04 AM
  5. required does not work ?!
    By flynst4r in forum FormMail Subscription Support
    Replies: 9
    Last Post: 26-Jan-2004, 09:04 PM

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
  •