Kuika's Date Time element allows users to easily select both date and time information. Users can enter date and time information manually or specify them via the date-time picker. This element is ideal for situations where operations need to be performed based on a specific time zone. In this tutorial, you will learn how to use the Date Time element and configure date-time validations.
The Date Time element is supported in web and mobile applications.
This training content consists of the following topics:
Adding a Date Time element
Date Time element properties
Element Settings and Customization
Add Date Time Element
Log in to the Kuika platform.
Select the project you will work on from the Apps screen.
Enter the UI Design module.
From the Elements panel on the left side, drag the Date Time element under the Date and Time Input category and drop it on your screen.
If you drag the Date Time element to an empty space, it will automatically be added inside a Row element.
If you drag into a Column, only the Date Time element is added.
Date Time Element Properties
You can configure the properties of the Date Time element in the Properties panel on the right sidebar.
Value: You can specify a static date-time value or assign dynamic values using Symbol Picker.
Placeholder: You can add a placeholder text that guides the user to enter date and time information. For example, “Select Date and Time”. The placeholder is displayed when the value of the Date Time element is empty.
Allow Clear: Allows the user to clear the selected date and time with a single click. Entries can be reset with the Delete (X) icon that appears in the right corner.
Format: Determines how the date and time data is displayed. You can select the following formats from the drop-down menu in theProperties panel:
hh:mm:ss: Hour:Minute:Second (12-hour format, e.g. “03:30:45 PM”)
mm:ss: Minutes and Seconds (e.g. “15:45”)
HH:mm: Hours and Minutes (24-hour format, e.g. “15:30”)
Disable Before Date: Prevents the selection of dates before a specific date. You can specify a static date or use dynamic values. This feature is used to set limitations for future dates.
Use 12 Hours: Determines whether the time is displayed in 12-hour (AM/PM) or 24-hour format.
Hour Step: Determines the intervals at which the user can advance in the time selection. For example, every half hour instead of every hour.
Minute Step: Determines the intervals at which the user can advance in the minute selection. For example, every 30 minutes can be selected for operations such as vehicle delivery.
Second Step: Determines the intervals at which the user can select seconds.
Element Settings and Customization
Authorization
Anonymous Access: Allows users to access without entering account information.
All Roles Access: Provides access by verifying users' account information.
For element-level authorization, edit Authorization settings in the Properties panel.
Visibility
Always Visible: Element is always visible.
Hidden: Element is hidden.
Sometimes Visible: The element is visible depending on a specific condition.
To configure the setting:
Select the element on the screen.
Open the Properties panel on the right edge.
In the Visibility field, select an option according to your needs.
Editability
Enabled: Elements can be edited.
Disabled: Element cannot be edited.
Sometimes Enabled: The element can be edited or uneditable according to certain conditions.
Interface Design with Style Panel
By customizing your elements with the Styling Panel, you can create impressive interfaces for your web and mobile applications. In this section, you can configure the following settings:
Layout: Sizing, alignment and padding settings. Settings include Size, Min Size and Align.
Text: Font, style, color, size and spacing settings.
Fill: Customize the background with color or images.
Border: Add borders and corner radius settings.
Shadow: Add a shadow effect to add depth to elements.
By following these steps, you can configure the Area Chart element to suit your needs.
Actions
Kuika supports the following system actions:
Arithmetic, Authorization, Condition, Device, Export, Geolocation, Inversion, Local Storage, Multi Language, Navigation, Notification, Payment, UI Control, Process Administration, Process Automation, Trigger, Process Automation, Process Administration and String Operations.
You can also use SQL actions that you create yourself.
You can use the +ADD ACTION button from the Properties panel to add an action.
Actions support may not be available in some elements.