Kuika's Date element allows users to easily select valid dates. Users can enter dates manually or specify them via the date picker. In this tutorial, you will learn how to use the Date element and configure date validations.
The Date element is supported in web and mobile applications.
The content of this tutorial consists of the following topics:
Adding a Date element
Date element properties
Element Settings and Customization
Add Date 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 element under the Date and Time Input category and drop it on your screen.
If you drag the Date element to an empty space, it will automatically be added inside a Row element.
If you drag it into a Column, only the Date element is added.
Date Element Properties
You can configure the properties of the Date element in the Properties panel on the right sidebar.
Value: The Date element can take a static date value or be assigned dynamic values using Symbol Picker.
Placeholder: You can add a helpful placeholder text to guide the user. For example, “Select Date”.
Allow Clear: The Delete (X) icon appears in the right corner so that users can delete the date value they have entered with a single click.
Format: You can select the date formatting from the drop-down menu in the Properties panel:
DD/MM/YYYYY: Day/Month/Year (For example, 20/10/2023)
MM/DD/YYYYY: Month/Day/Year (For example, 10/20/2023)
YYYYY/MM/DD: Year/Month/Day (For example, 2023/10/20)
DMY: Shows the day, month, and year in order with abbreviations or the full date (e.g., “October 20, 2023”).
Among the formats, options such as DD/AA/YYYYY or AA/GD/YYYYY can be used to suit your needs.
Disable Before Date: Prevents the selection of dates before a specific date. You can enter a static date or use dynamic values. For example, only future dates can be selected for a product delivery.
Disabled Days: Allows certain days to be disabled for selection. For example, you can make past dates or holidays unselectable. (This feature is only available in web applications.)
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.