[Top] [Prev] [Next] [Bottom] [Contents]

SaJavaZipCheck

Prints a Java Script function which checks if a string is in a valid Zip Code format.

Synopsis

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

Argument

None

Return Values

Returns an integer with a value of 0.

Description

Prints a Java Script function which checks if a string is in a valid Zip Code format. A valid format is of the forms: ##### or #####-####.

Example

The code fragment:

SaJavaZipCheck();
will write a string to standard out which is equivalent to the contents of the file:

config\htmlstyle\YValZipCodeFormat.js
in the Sapphire distribution.

See Also

SaJavaSsnCheck, SaJavaCardCheck, SaJavaNoEmptyFields

SaJavaDateFixNow, SaJavaIsAllDigits, SaJavaIsAllLetters

SaJavaIsFieldNotBlank, SaJavaValEmail, SaJavaState

SaJavaSimpleFormat, SaRegJsScripts, SaPrintJsScripts, SaJavaCallFunc



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.