Date Picker field in page types allows to select date and time from a calendar.
This project contains Date Picker form control field which allows the user to select date from calendar. For example, user can select date and time value in page type date field.
- Kentico Xperience 13 (supports both ASP.NET core and ASP.NET MVC 5 development modules)
- Basic knowledge of developing ASP .NET MVC 5 applications with Kentico Xperience.
- Date Picker plugin (Owned by MIT)
- Install the Kentico instance in your local machine
- Download the plugin for Date Picker (Owned by MIT).
Date Picker plugin provided under MIT License.
- Open the live site application and create the page layout and page templates.
-
Create the custom form control in webApp.sln
-
Run the solution and login into administration application.
-
Open the “Administration interface” application and switch to “form controls”. Click on “New form control” and register your form control.
-
Open the page type application and select the page type which you want to add your custom form control. Create the new fields in page editing form as per requirements. An example shown below:
-
User selects a required checkbox means user need to fill Default error message (text is user choice) text field as shown in below
-
Open the Pages application → open page type which you added the field → select the values and save. For reference example is shown below