Refer the script and theme files in <head> section:
Refer to the necessary scripts and theme files required by the Syncfusion EJ components in the <head> section as follows.
In the above code example, scripts refers to the folder that contains the script files. Make sure that the above mentioned script files are loaded properly.
You can also use the CDN links, instead of referring the scripts and theme files locally. Refer to the following code example.
You can refer to the following link to know more about the necessary scripts files and dependencies script files.
Declare the elements in the <body> section
Specify the necessary tag in the <body> section that you are going to convert as EJ components. In this form validation example, the following three EJ components are used
Refer to the following code example to render the form elements in the page.
Initialize the components in the <script> section
The EJ components are initialized in the Script section as follows. During initialization, you can also specify the necessary API’s, and bind events for the components.
Refer to the following code example for the validation is written in PHP.
You can download the sample from the following location.
This page will automatically be redirected to the sign-in page in 10 seconds.