![]() |
Framework
3.9
|
When the data entry interface contains multiple tabs (pages) that the user can move around freely (e.g., not required to complete tab c before moving on to tab d) then we validate on the final submit tab. More...
Public Member Functions | |
ValidateTabSet () | |
Validate () | |
Called when user clicks submit: validate each tab page and redirect to first page that is invalid or returns true. More... | |
warning () | |
Called from summary view class for each section if the section is invalid. More... | |
message () | |
Show the validation issue/error as an informative message instead of a warning. More... | |
writeScript () | |
When system returns user to a tab b/c not valid or completed, show a popup message for the error. More... | |
Public Attributes | |
$msg | |
When the data entry interface contains multiple tabs (pages) that the user can move around freely (e.g., not required to complete tab c before moving on to tab d) then we validate on the final submit tab.
The warning message is called from the final tab's summary view display for each section and on the tab page the user is redirected to if they attempt to submit when there is an error.
E.g., user does not complete grant application. On the view summary section "Grant Application"
we write warning: "You must complete the grant application"
5/3/2011
Definition at line 1726 of file validation.inc.
ValidateTabSet::message | ( | ) |
Show the validation issue/error as an informative message instead of a warning.
Definition at line 1776 of file validation.inc.
ValidateTabSet::Validate | ( | ) |
Called when user clicks submit: validate each tab page and redirect to first page that is invalid or returns true.
Definition at line 1738 of file validation.inc.
ValidateTabSet::ValidateTabSet | ( | ) |
Definition at line 1730 of file validation.inc.
ValidateTabSet::warning | ( | ) |
Called from summary view class for each section if the section is invalid.
The div must be an id for the background image to show - does not work for css classes.
Definition at line 1764 of file validation.inc.
ValidateTabSet::writeScript | ( | ) |
When system returns user to a tab b/c not valid or completed, show a popup message for the error.
Definition at line 1789 of file validation.inc.
ValidateTabSet::$msg |
Definition at line 1728 of file validation.inc.