Understanding SIFmt -Attributes |
||
What | Purpose/Description | |
GO |
Tutorial: SIFmt Attributes |
Demonstrates how sif-attributes are implemented. Uses the default configuration. |
GO |
../../../ si_fmt_CONFIGURATION.js |
The file containing your currently-and-actually-configured sif-attributes.
Here are your actually-and-currently configured sif-attributes, existing in Note that the ' It is recommended, although not required that your sif-attributes be configured in |
GO |
si_fmt.js |
JavaScript class to defines and manage sif-attributes. If your formats are invalid for any reason, the constructor for this class is what will crash and inform you of that error. |
vf_stASIF.stASIF() |
Function that SIFmt configuration must be passed to, for validate_form.js to recognize it. |
|
GO |
../../../secondary_js/ si_fmt_CONFIGURATION_default.js |
The configuration that originally existed in si_fmt_CONFIGURATION.js when you downloaded validate_form.js (do not touch this file). Consider this the 'default' configuration.
Here are the default sif-attribute configuration, existing in |
GO |
Further Resources |
|
There is another example where MAXLENGTH
is also associated to the element.
SIFmt
Attribute Example: A 'text
' element with MAXLENGTH
associated to it.It is recommended that MAXLENGTH
not be associated to SIFmt
elements. If it is, though, MAXLENGTH
may not be greater than the SIFmt
-s required part (the si_rqdMin
constructor parameter). In this example, sMsgTxtPhone10
crashes because of a conflict with MAXLENGTH
.
Copyright (C) 2003-2005, Jeff Epstein. All rights reserved.