Time Picker

Yeeflow team
Yeeflow team
  • Updated

The Time Picker field enables your users to enter a valid time. They can either use a time picker or type the required time value. The time field displays time as per the time format and time zone set in your Profile & Preferences' settings. Below is how a time field looks on a form:

 

Time_Picker_Overview.jpg

 

When to use this field: Use a time picker field if you want to enable your users to enter is a specific time. When you want to enable your users to enter a date as well as a time value, you add a date picker field control to your form.

 

Add Time Picker to the form

Firstly, find the Time Picker control in the controls add panel. Then, drag and drop it into a section or container on your form.

Time_Picker_Add.jpg

 

Basic of the Time Picker field

Open the Content > Basic block and set the Title's text of this Multiple Metadata control. For more information about Title for field control, please refer:

Understand the Title of field controls

Set the Associated variable for this Time Picker control. When you add a new Time Picker control, a default variable will be generated automatically. You can click the Edit Button to change the ID and name, or click the Reset button to bind this Time Picker control to other existing variables. For more information, please refer:

Understand form controls and the associated variables / fields

Time_Picker_Basic.jpg

 

Appearance of the Time Picker field

Open the Content > Appearance block to set the appearance and layout of this Time Picker control.

Placeholder: Set the text of the placeholder for this Date Picker control.

Format: Select the format of time value, which can be HH:MM:SS, HH:MM or HH.

Minute Step: Customize the time picker such that your users get to set the minutes part as per the interval you set.

Display Title: Choose display or hide the label of this control. For more information, please refer: Understand the label of field controls

Allow comment: Turn on this option will allow users to add comments on this control.  

Time_Picker_Appearance.jpg

 

Validation of the Time Picker

Open the Content > Validation block to set the properties of this Time Picker control.

  1. Readonly: Turn this ON will make this field control as view only status. 
  2. Required: Make it mandatory for your users to enter an input in this field.
  3. Default Value: Initial value for a time field refers to the time value that comes pre-filled when your users access the form. Setting an initial value will not prevent your users from entering a different time value.
  4. Custom Validation: Set the custom validation rules. An error message that will display under your field when specified conditions become true. It will allow you to add any number of rules for validating your field. Learn more about the Custom Validation.

Time_Picker_Validation.jpg

 

Action call of the Time Picker field

Open the Content > Action block to call a pre-defined action from the dropdown list. This action will be triggered once the value of this Date Picker field is changed.

Switch_action.jpg

 

Style the Time Picker field

Field - Editable

Open the Style > Field - Editable block to set the styles of the field control for it's editable status.

  1. Typography: Set the typography options for the text in the Time Picker.
  2. Normal / Focus: Set different styles for normal state and focus state of the Time Picker. Styles below are supported to be set separately for Normal and Focus state.
    • Color: Choose the color of the field's text.
    • Background Color: Set background color of the field. By default, the background color is set as transparent.
    • Border Type: Select the type of border, choosing from none, solid, double, dotted, dashed, or grooved.
    • Radius: Set the border radius to control corner roundness.
    • Shadow: Adjust box shadow options

     

  3. Placeholder Color: Choose the color of the placeholder text.
  4. Align: Set the alignment of text inside the field control. Can be LeftCenter or Right
  5. Padding: Set the Padding of the field control.
  6. Field Width: Set the width of the field control in PX or %.
  7. Field Alignment: Set the alignment of the field control. This will only be effected when the field width is less than the outside container.
  8. Error Message: Set the styles of the error message, 
    • Typography: Set the typography options for the error message.
    • Color: Choose the color of the error message's text.

 

Field - Read Only

Open the Style > Field - Read Only block to set the styles of the field control for it's view only status.

  1. Typography: Set the typography options for the text in the Time Picker.
  2. Color: Choose the color of the field's text.
  3. Background Color: Set background color of the field. By default, the background color is set as transparent.
  4. Align: Set the alignment of text inside the field control. Can be LeftCenter or Right
  5. Padding: Set the Padding of the field control.
  6. Border Type: Select the type of border, choosing from none, solid, double, dotted, dashed, or grooved.
  7. Radius: Set the border radius to control corner roundness.

 

Style of title

Set the Title of field controls that are applicable to this control.

 

Advanced Settings

Set the Advanced options that are applicable to this control.

 

 

Was this article helpful?

/

Comments

0 comments

Please sign in to leave a comment.