Skip to content

sendFormAsSurvey

Function

VabletFormTools.sendFormAsSurvey(formName)

Description

Converts form, and special Vablet elements on the page to text and image elements to 'bake' them in. Then creates and submits a PDF from the baked page to the Vablet Capture Manager.

Special Conditions

  • Please enclose your inputs in an HTML FORM tag supplied with both form NAME and ID attributes. These attributes can be named the same.
  • All inputs to be captured are required to have both a NAME and ID attribute that begins with vablet_
  • Upload your zHTML file to the Capture Manager rather than the Media Manager for the surveys to be submitted to Capture properly.

Arguments

Argument Description
formName The form name that you wish to capture input from.

Return

  • success - Always returns success.