Results 1 to 2 of 2

Thread: Required fields not working

  1. #1
    Join Date
    Feb 2014

    Question Required fields not working

    Hi There

    I have some fields that are required and some that need to be but aren't at the moment.

    A field that is required has code like this:

    <div class="TectiteFormDesignerField">
    <label for="field1" class="TectiteRequiredField">Your<br />name</label><input type="text" id="field1" name="FullName" />

    I gave the field that isn't being validated the class="Required Field" as you can see below but it is not giving the '
    Please enter a value for this field.
    ' error message when it is not filled in:

    <div class="TectiteFormDesignerField">
    <label for="startdate" class="TectiteRequiredField">Arrival</label><input type="text" id="startdate" readonly name="arrival" />
    <img src="Calendar-icon.png" alt="Calender" width="20" height="20" /></div>

    Any idea why?
    Thanks so much!

  2. #2
    Join Date
    Dec 2008
    Rosarito, Mexico

    Default Re: Required fields not working


    I've never seen someone using css to classify a required field - that may be the problem. Your required fields should be defined in your heading section of your form:

    <input type="hidden" name="required" value="FullName">

    If you are also replacing "realname" with the value "FullName" then you need to add this as well:

    <input type="hidden" name="derive_fields" value="realname=FullName">

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Required fields not working
    By mfos in forum Community Support
    Replies: 20
    Last Post: 06-May-2012, 04:37 PM
  2. Required Fields And/Or
    By kenbrown in forum Community Support
    Replies: 2
    Last Post: 15-Oct-2011, 01:06 PM
  3. How do you specify required fields in the 'required' value
    By Frypantofire in forum Community Support
    Replies: 2
    Last Post: 17-Jun-2008, 07:41 AM
  4. Required Fields not working
    By ritak in forum Community Support
    Replies: 1
    Last Post: 17-Jun-2006, 10:33 AM
  5. Required Fields not working?
    By zoe77 in forum FormMail Subscription Support
    Replies: 2
    Last Post: 02-Jun-2004, 04:27 PM


Posting Permissions

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