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

Synopsis

#include "sajavasc.h"
int SaJavaDateFixNow();

Argument

None

Return Values

Returns an integer with a value of 0.

Description

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.

Example

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.

See Also

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.