The Date field allows you present a field that captures date data using the jQuery UI date picker.
- Field Label
Enter the label of the form field. This is the field title the user will see when filling out the form.
Enter the description for the form field. This will be displayed to the user and provide some direction on how the field should be filled out or selected.
Date Input Type
Select the type of inputs you would like to use for the date field.
- Date Picker will let users select a date from a calendar.
- Date Field will let users free type the date.
- Date Drop Down will let users select date from drop downs.
Allows you to set an icon which will be listed beside the date field. Available options are:
- No Icon
- Calendar Icon
- Custom Icon
- Date Format
Select the format you would like to use for the date input. Available options are MM/DD/YYYY and DD/MM/YYYY.
These properties set rules for how the data should be handled.
A required field will prevent the form from being submitted if it is not filled out or selected.
A field set to allow no duplicates will require that a value entered in a field does not currently exist in the entry database for that field.
Allows placeholder text to be placed inside the field, giving a hint to the expected input.
Overrides the default placement of the field description, allowing you to place the description above or below the field.
Custom Validation Message
If you would like to override the default error validation for a field, enter it here. This message will be displayed if there is an error with this field when the user submits the form.
Custom CSS Class
Enter the CSS class name you would like to use in order to override the default styles for this field.
- Admin Field Label
Enter the admin label of the form field. Entering a value in this field will override the Field Label when displayed in the Gravity Forms administration tool.
If you would like to pre-populate the value of a field, you can specify a static value or select a variable value from the predefined list.
Select the visibility for this field. Field visibility set to Everyone will be visible by the user submitting the form. Form field visibility set to Admin Only will only be visible within the Gravity Forms administration tool. Setting a field to Admin Only is useful for creating fields that can be used to set a status or priority level on submitted entries.
Allow field to be populated dynamically
Check this option to enable data to be passed to the form and pre-populate this field dynamically. Data can be passed via Query Strings, Shortcode and/or Hooks.
Enable Conditional Logic
Create rules to dynamically display or hide this field based on values from another field. Remember, to use conditional logic, you will need to create a drop down, checkbox or multiple choice field.
* The field name is optional.
* The second parameter defines the ID of the field that will be output in this tag.
* Within the third parameter, you can define an optional modifier to use. Only one modifier can be used per merge tag.
Outputs only the year used in the field.
Outputs only the month used in the field.
Outputs only the day used in the field.
Outputs the date formatted as year/month/day. Example: 2016/10/31.
Outputs the date formatted as day/month/year. Example: 31/10/2016.