grabwebformitems
OPTIONS

The grabwebformitems statement grabs multiple web form items and stuffs the values into fields and/or variables.


Parameters

This statement has one parameter:

options – various options, each option in OPTION=VALUE format. See the body of this page below for details on the available options.


Description

This statement grabs multiple web form items and stuffs the values into fields and/or variables. The grabwebformitems statement has one parameter, a list of options in option=value format. There are three possible options: items, assign and variables.

grabwebformitems “items=type/list assign=type variables=type”

The items option specifies what web form items to “grab” and assign to fields and/or variables. If this option is not specified then all visible items will be processed. You can specify a list of items (comma separated), or you can specify “visible”, “hidden” or “all”. Here are some examples:

grabwebformitems {items="Name,City,State,Country,Email,Name"}
grabwebformitems {items=Visible}
grabwebformitems {items=all}

The assign option specifies whether to grab the values into fields, into variables, or both. There are four possible choices: fields, variables, noconflictvariables, or any.

Here is an example that adds a new record to the current database, then fills in the new record with the data from the web form.

addrecord
grabwebformitems “assign=FIELDS”

The variables option specifies what type of variable should be created: local (the default), fileglobal, global (not usually recommended), or permanent. Here is an example that takes all of the items in the submitted web form and copies them into variables with the same names as the items in the web form.

grabformwebitems “items=visible assign=variables variables=fileglobal“

See Also


History

VersionStatusNotes
10.2No ChangeCarried over from Panorama 6.0.