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

SaJavaCardCheck

Prints a Java Script function which checks if a string is in a valid Credit Card number format.

Synopsis

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

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 Credit Card number format A valid format is of the forms: #####-####-####-##### or #####-######-#####.

Example

The code fragment:

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

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

See Also

SaJavaSsnCheck, SaJavaZipCheck, 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.