Using IsValid.js to Validate Data on the Client

The IsValid.js file handles client-side data validation for the PT application. Activity.htm, ActivityType.htm, Group.htm, Location.htm, and Person.htm call the validateForm function in IsValid.js from their respective update functions. IsValid.js contains pattern definitions against which data is validated. The following topics describe how the PT application validates data using IsValid.js:

The following topics also include information on implementing data validation: