Infopath validating event
The option to disable validation on hidden, disabled or read-only controls, Views and tabs is now available.
The option is selected by default for all new controls, Views and tabs created that are hidden, disabled or read-only.
Controls, Views and tabs that were hidden, disabled or set to read-only in versions prior to K2 smartforms 1.0.2, will be deselected and the option will have to be checked manually should the validation not be required on these.
Clicking on configure next to the condition will open the validation screen.
Do not validate, hidden, disabled and read-only controls, Views or tabs - All controls belonging to these categories will be ignored when validation is performed, i.e. When using a Form with Views, the controls on those can also be selected to be disabled for validation.
Note: The Do not validate hidden, disabled or read-only controls, Views and tabs option will also be applied to controls and Views that are dynamically changed to disabled or read-only at runtime.
For example, if a control is enabled and is subsequently changed in runtime to be disabled, this option will be applied to that control if the validation is done after the control is changed to disabled.
In this scenario we will use a Form with Views and tabs, a certain View and tab will be hidden to demonstrate the option to not perform validation on controls, Views and tabs.
Is there a way to stop people filling in date fields manually?
since there is a calendar, there not only is no need for manual entry but it also avoids input error.. either to validate both the calendar date & manual entry (entered in dd/mm/yyyy) Or to prevent users from typing inside the date field (& use the calendar!