The CGIObj contains a name-value pair that represents either the form variables or the environment variables.
Returns the name of the CGI variable.
object.Name
String.
Read-only.
This example retrieving the name and the value of the form fields.
Set formvars=doc.formvars
For each formvar in formvars
Print "Name:"&formvar.name&"nbsp;nbsp"
&"Value:"&formvar.value
Next
Returns the value associated with the CGI variable.
object.Value
String.
Read-only.
By default, value property is called for CGIObj object.
This example retrieving the name and the value of the form fields.
Set formvars=doc.formvars
For each formvar in formvars
Print "Name:"&formvar.name&"nbsp;nbsp"
&"Value:"&formvar.value
Next