getwebtemplatetext(
DATABASE
,
FORM
)

The getwebtemplatetext( function retrieves the text of the web template (a dictionary) associated with a form (if any).


Parameters

This function has two parameters:

database – name of the database that contains the form. If this parameter is “” or omitted, the template will be retrieved from the current database. The specified database must be open

form – name of the form the template is associated with.


Description

This statement retrieves the text of the web template (a dictionary) associated with a form (if any). This is usually HTML text.

let formHTML = getwebtemplatetext("Sign Up")

The template text can be fetched from any open database.

let formHTML = getwebtemplate("Membership Database","Sign Up")

See Also


History

VersionStatusNotes
10.2UpdatedCarried over from Panorama 6.0, but now stores the template in the form itself, and optionally allows a database to be specified.