HTML_RemoveFormField Function

Description:

This function removes a field from a Form.

Format:

HTML_RemoveFormField(formVar, fieldName);
HTML_RemoveFormField(formVar, fieldName, fieldIndex);
HTML_RemoveFormField(formVar, fieldName, removeoptions);

Parameters:

formVar

A form variable from which a field will be removed.

fieldName

A string expression containing the field to remove.

fieldIndex

An integer expression containing the rank index of the field to remove.

removeoptions (optional)

Available option is:

REGEXP  fieldName is treated as regular expressions

Example:

FORM formVar;

// Retrieve first "Name" field and second "Address" field from formVar
HTML_RemoveFormField(formVar, "Name");
HTML_RemoveFormField(formVar, "Address", 2);

See also:





Go back to the Learning center:


Copyright © AgileLoad. All rights reserved.
Agile Load testing tool| Contact AgileLoad | Terms of Use | Sitemap