[Top] [Prev] [Next] [Bottom]
[Contents]
SaJavaDateFixNow
Prints a Java Script function which checks that a text field has an empty value and, if so, sets the value to the current date/time.
#include "sajavasc.h"
int SaJavaDateFixNow();
Argument
None
Returns an integer with a value of 0.
Prints a Java Script function which checks that a text field has an empty value and, if so, sets the value to the current date/time.
The code fragment:
SaJavaDateFixNow();
will write a string to standard out which is equivalent to the contents of the file:
config\htmlstyle\YValDateFixNow.js
in the Sapphire distribution.
SaJavaSsnCheck, SaJavaZipCheck, SaJavaCardCheck, SaJavaNoEmptyFields
SaJavaIsAllDigits, SaJavaIsAllLetters, SaJavaIsFieldNotBlank, SaJavaValEmail
SaJavaState, SaJavaSimpleFormat, SaRegJsScripts, SaPrintJsScripts, SaJavaCallFunc
[Top] [Prev] [Next] [Bottom]
[Contents]
info@bluestone.com
Copyright © 1997, Bluestone. All rights
reserved.