Understand on load

Understand on load

The script actions that you define in the on load event will be executed when a user opens a form.

Let's assume you have an EmployeeManagement application. In that app you have a Leave Request form which the employees use to submit leave requests. This is a simple form which collects the Employee name, phone number, start date and end date. Now let's assume you want your employees to avail leave only from the next week. You can achieve this by using on load script action to set a date for the Start date field. Then you can disable the field so your employee won't be able to change the date. 

Related Topics

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: appcreator-support@manageengine.com