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 ../../../si_fmt_CONFIGURATION.js:

If there are no rows, then no sif-attributes are configured.

Note that the 'sMTPost' (the postfix applied after 'sMsgTxt'), as long as it contains only letters, digits and underscores, can equal anything but 'Dec', 'Email' or 'Int'.

It is recommended, although not required that your sif-attributes be configured in ../../../si_fmt_CONFIGURATION.js. You could name it something else, or put it in another directory. However, this documentation only recognizes this particular file name and location.

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 ../../../secondary_js/si_fmt_CONFIGURATION_default.js:

GO Further Resources











There is another example where MAXLENGTH is also associated to the element.

What is your SIFmt 'sMsgTxt*' value?










BACK    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.

What is your SIFmt 'sMsgTxt*' value?




What is your secret (shhhhh) SIFmt 'sMsgTxt*' value?









































SourceForge.net Logo

Copyright (C) 2003-2005, Jeff Epstein.   All rights reserved.