WebForm.setPresentationTemplateName

Changes the Presentation Template used by the current form to the one with the specified name.

Important: form.setPresentationTemplateName(...) must be on the last line of a script. After the setPresentationTemplateName function call is executed, the next script configured in the server event will be executed.

For further information see:

JavaScript example:

 form.setPresentationTemplateName("myPresentationTemplate");
 

Parameters

java.lang.String  templateName,