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

SaFormSubmit

Prints a submit form element to an HTML stream.

Synopsis

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

Arguments

ename
A string specifying the name of the submit element. This string is converted to an HTML-compatible string. If ename is empty or NULL, SubmitName is used as the element name.
evalue
A string specifying the value of the submit element. This string is converted to an HTML-compatible string. If evalue is NULL, an empty string is used. A client browser will use the value as the submit button's label.

Return Values

Returns an integer with a value of 0.

Description

Prints a submit form element to an HTML stream. A submit form element is used in the clients's browser to send the form data to the server application.

Example

The code fragment:

SaFormSubmit(NULL, "SEARCH");
will write:

<INPUT TYPE="submit" NAME="SubmitName" VALUE="SEARCH">
to the output stream.

See Also



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

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