webformitemnames
TARGET

The webformitemnames statement returns a list of POST parameters passed from a form to the web server as a carriage return separated list.


Parameters

This statement has one parameter:

target – name of field or variable to receive the result.


Description

This functions returns a list of POST parameters passed from a form to the web server as a carriage return separated list. This example retrieves the names and then runs a loop to process each submitted item.

local formItems
webformitemnames formItems
looparray formItems,cr(),formItem
    // process each item submitted in form
    let itemValue = webformitemvalue(formItem)
    ...
    ...
endloop

Note: The names can also be retrieved in a formula with the webformitemnames( function.


See Also


History

VersionStatusNotes
10.2No ChangeCarried over from Panorama 6.0.