FormSanity Attributes

Min/Max Values
Number
Minimum of 10:
Maximum of 10:
From 5 to 15:
Time
9:00am to 5:00pm
10:00pm to 3:00am
6:20am to 3:15pm
Date
After 02/20/2010:
Before 02/20/2010:
June 2010:
Equal To Value
Seven Plus Three:
Protects Against Rain:
File Extension
PDF Only:

file extension must be .pdf

Web Images:

file extension must be .gif, .jpg, .jpeg, or .png

Min/Max Selected
Select 3 Or More
Check 3 Or More
Select Up To 3
Check Up To 3
Min/Max Length
Minimum 5 Characters:
Minimum 50 Characters
Maximum 100 Characters
Unique In Database
Totally Unique:
Once per 300 Seconds:
Once per calendar day:
Once per calendar week:
Once per calendar month:
Once per calendar year:

Needs correct answer.

Submit
<input name="min_number" type="text" fs_type="number" fs_min_value="10" />
<input name="max_number" type="text" fs_type="number" fs_max_value="10" />
<input name="number_range" type="text" fs_type="number" fs_min_value="5" fs_max_value="15" />
<input name="time_range" type="text" fs_type="time" fs_min_value="9:00am" fs_max_value="5:00pm" />
<input name="time_range" type="text" fs_type="time" fs_min_value="10:00pm" fs_max_value="3:00am" />
<input name="time_range" type="text" fs_type="time" fs_min_value="6:20am" fs_max_value="3:15pm" />
<input name="min_date" type="text" fs_type="date" fs_min_value="02/21/2010" />
<input name="max_date" type="text" fs_type="date" fs_max_value="02/19/2010" />
<input name="date_range" type="text" fs_type="date" fs_min_value="06/01/2010" fs_max_value="06/30/2010" />
<input name="seven_plus_three" type="text" fs_equal_to="10"  />
<select name="rain_protector" fs_equal_to="Umbrella">
  <option selected="selected" disabled="disabled" value="">choose…</option>
  <option value="Salami">Salami</option>
  <option value="Giraffe">Giraffe</option>
  <option value="Fisherman">Fisherman</option>
  <option value="Umbrella">Umbrella</option>
  <option value="Illusion">Illusion</option>
  <option value="Homework">Homework</option>
</select>
<input name="pdf_upload" type="file" fs_file_extension="pdf" />
<input name="web_image_upload" type="file" fs_file_extension="gif jpg jpeg png" />
<select name="min_multi_select" size="9" multiple="multiple" fs_min_selected="3">
  <option value="1">Cras aliquam massa ullamcorper sapien</option>
  <option value="2">Cras rutrum pulvinar tellus</option>
  <option value="3">Vivamus convallis urna id felis</option>
  <option value="4">Curabitur quis dui sit amet elit luctus aliquam</option>
  <option value="5">Quisque in wisi quis orci tincidunt fermentum</option>
  <option value="6">Donec non tortor in arcu mollis feugiat</option>
  <option value="7">Aliquam adipiscing libero vitae leo</option>
  <option value="8">Cras rutrum pulvinar tellus</option>
  <option value="9">Maecenas tempus dictum libero</option>
</select>
<select name="min_multi_select" size="9" multiple="multiple" fs_max_selected="3">
  <option value="1">Cras aliquam massa ullamcorper sapien</option>
  <option value="2">Cras rutrum pulvinar tellus</option>
  <option value="3">Vivamus convallis urna id felis</option>
  <option value="4">Curabitur quis dui sit amet elit luctus aliquam</option>
  <option value="5">Quisque in wisi quis orci tincidunt fermentum</option>
  <option value="6">Donec non tortor in arcu mollis feugiat</option>
  <option value="7">Aliquam adipiscing libero vitae leo</option>
  <option value="8">Cras rutrum pulvinar tellus</option>
  <option value="9">Maecenas tempus dictum libero</option>
</select>
<ul>
  <li><input name="min_checkbox" type="checkbox" value="01" fs_min_selected="3" />Option One</li>
  <li><input name="min_checkbox" type="checkbox" value="02" fs_min_selected="3" />Option Two</li>
  <li><input name="min_checkbox" type="checkbox" value="03" fs_min_selected="3" />Option Three</li>
  <li><input name="min_checkbox" type="checkbox" value="04" fs_min_selected="3" />Option Four</li>
  <li><input name="min_checkbox" type="checkbox" value="05" fs_min_selected="3" />Option Five</li>
</ul>
<ul>
  <li><input name="max_checkbox" type="checkbox" value="01" fs_max_selected="3" />Option One</li>
  <li><input name="max_checkbox" type="checkbox" value="02" fs_max_selected="3" />Option Two</li>
  <li><input name="max_checkbox" type="checkbox" value="03" fs_max_selected="3" />Option Three</li>
  <li><input name="max_checkbox" type="checkbox" value="04" fs_max_selected="3" />Option Four</li>
  <li><input name="max_checkbox" type="checkbox" value="05" fs_max_selected="3" />Option Five</li>
</ul>
<input name="min_length_text" type="text" size="20" maxlength="20" fs_min_length="5" />
<textarea name="min_length_textarea" rows="5" cols="60" fs_min_length="50"></textarea>
<textarea name="max_length_textarea" rows="5" cols="60" fs_max_length="100"></textarea>
<input name="value_limit" type="text" fs_value_limit="1" />
<input name="value_limit_seconds" type="text" fs_value_limit="1:300" />
<input name="value_limit_day" type="text" fs_value_limit="1:1:day:Central Time (US & Canada)" />
<input name="value_limit_week" type="text" fs_value_limit="1:1:week:Central Time (US & Canada)" />
<input name="value_limit_month" type="text" fs_value_limit="1:1:month:Central Time (US & Canada)" />
<input name="value_limit_year" type="text" fs_value_limit="1:1:year:Central Time (US & Canada)" />