Date Time
Date Time elements used on forms are a type of input field that allow visitors to enter or select a date with a time.
This type of element is usually used when a specific date and time is required. Examples include a date of an event, webinar, meeting requests etc.
Visitors submitting the form can input the date and time value or use the date picker to choose a date and time.
Add a Date Time Element to your Form
To add a Date Time element to your form select the orange + icon within the builder and then select "Date Time".
Once added you can then edit the fields settings on the right hand side of the screen.
Date Time Field Element Settings
Under the date time field settings there are various options to set.
These options include:
- Field Label: Value that is always visible to persons filling in your form
- Field Name: The Field Name is "behind the scenes".
- The field name is not shown to persons filling in your form
- Map to Field: Choose the field in Paminga you would like to map this data to when the form is submitted.
- Any date field types within your account will be available to map to via the drop down
- Date Format: Select the format you would like the date field displayed. Available options include:
- YYYY-MM-DD
- M/D/YYYY
- DD/MM/YYYY
- Use 24 Hour Clock: Checkbox. When selected a 24 hour clock will be displayed
- Default Value: If you choose to set a Default Value, this field will be pre-filled with that value when the form is rendered
- Pre-Populate This Field: Checkbox. Paminga may be able to recognize the website visitor submitting your form. When this is the case, you can have Paminga pre-populate fields with values that are already known for that person
Validation Rules
Within the date field settings you can set validation rules for the persons submitting the form.
These validation rules include:
- Required: Make it so that when the person is submitting the form the field is required to submit
- By default a message is set to "This is a required field." This message can be edited
- Minimum Date Time: Set a minimum date and time that must be entered to submit the form by typing the date in or using the date picker. The error message can be edited
- Maximum Date Time: Set the maximum date and time that can be entered to submit the form. The error message can be edited
Layout
Under the layout tab you have the ability to edit the layout of the field on the form.
Here you can set the fields:
- Alignment (Left, Center, Right)
- Width
- Margins (Top, Bottom, Left, Right)
Easily set these parameter using the slider, or input the value to the right of each layout option.
Conditions
By default the field is set to show always. That said, you have the ability to edit the fields visibilty to conditionally display.
If you would like to edit the visibilty of the form field update the settings under the conditions tab.
You can set the field to:
- Show This Field Always
- Hide This Field Always
- Show This Field If
- Hide This Field If
Selection of the last two will prompt you to set conditions of display for this field using the Paminga segemnt builder.
The conditions available to dispaly off of are:
- Account Fields (standard & custom)
- Contact Field (standard & custom)
- Form Fields: Set the conditons based on any field's value on your form
- Language: If you leverage "Internationalization" each language you have added to the form will be available to select here
Make sure to check out our in-depth documentation here.