webformname(
)

The webformname( function when processing data input into a web form, this function returns the name of the Panorama form associated with the web form (if any).


Parameters

No parameters.


Description

It’s possible to write a single web procedure that is assigned to more than one web form. In that case the procedure will need to know what web form is being submitted. If the web form was created in Panorama (see Converting a Panorama Form into a Web Form) then the procedure can find out what form was submitted using the webformname() function.

if webformname() = "New"
    ...
endif
if webformname() = "Renewal"
    ...
endif

If you did not use Panorama to create your forms you’ll need to come up with some other method to identify which form is being submitted, perhaps with a hidden field.


See Also


History

VersionStatusNotes
10.2No ChangeCarried over from Panorama 6.0.