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

SaFormPass

Prints a password form element to an HTML stream

Synopsis

#include "SaRnHtml.h"
int SaFormPass(char* ename,char* evalue);

Arguments

ename
A string specifying the name of the password element. This string is converted to an HTML-compatible string. If ename is empty or NULL, SaPassWord is used as the element name.
evalue
A string specifying the value of the password element. This string is converted to an HTML-compatible string. If evalue is NULL, an empty string is used. A client browser will display a text field which will only show asterisk characters as the user types their password.

Return Values

Returns an integer with a value of 0.

Description

Prints a password form element to an HTML stream. A password form element is used in the clients's browser to allow a user to type a password in a text field, but not display what was typed.

Example

The code fragment:

SaFormPass(NULL, "");
will write:

<INPUT TYPE="password" NAME="SaPassWord" VALUE="">
to the output stream.

See Also



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

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