[Prev] [Next] [Top] [Bottom] [Contents] (34 out of 193)

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

Example

The code fragment:

SaFormSubmit(NULL, "SEARCH");

will write:

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

See Also


[Prev] [Next] [Top] [Bottom] [Contents] (34 out of 193)