Client Sided Validation
From OpenEMR Project Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Overview
- Contributions by Matrix (OpenEMR 4.3.1+) to support client side validation in layout based form, layouts, and also on separate php form pages.
Layout Based
- Turned on by this global Administration_Globals#New_form_validation.
- Can be configured/modified in the Administration->Layouts gui.
- More details can be found at Layout Based Validation.
Page Based
- Can be configured/modified in the Administration->Lists->Page Validation gui.
- Does require some code in the specific php page. See an example here in interface/patient_file/summary/add_edit_issue.php script: https://github.com/openemr/openemr/commit/777de3a285cf054d044f59dc191ef96d41a468eb