Skip to main content

Web Forms

While regular Forms can be used to collect information from registered users and produce formatted documents, the Web Forms can be used to collect information and answers from everybody, without the need to be a LogicalDOC user.

You can use this feature to launch campaigns and collect answers from a huge audience and elaborate your statistics.

Everything starts from a regular Form for which you enable the Web capabilities:

Web settings

The Web Form can be accessed by everybody at the Preview url you see in the forms list.

 You can customize the appearance of the web form with a set of settings:

  • Collect Emails: if the responder must specify his email
  • Width: horizontal width in pixels
  • Columns: number of columns in which to organize the fields
  • Background: the background color
  • Title: title to display
  • Description: a description of the form
  • Footer: the text to display in the footer
  • Confirmation message: the message to display to the responder when he submits the answers
  • Custom CSS: an optional CSS code to customize the styles
  • Header: an optional image to put in the header

Web Form areas
 

Web Form Url

The web form url can be published to the world, so your audience can fill the answers. Everybody can fill the form, it is not required to be registered as LogicalDOC user.

Automation

Most of the settings(Title, Description ...) can contain automation code to make the result dynamic.

Dictionary available for the Automation in this context

AUTOMATION CONTEXT: WEB FORMS
VariableJava ClassDescription
form

Form

the form being processed
template

Template

the template associated to the form
senderUserthe sender user
responderemail address of the responder
titlethe title of the web form
descriptiondescription of the web form
footerthe footer of the web form
messagebody of the email message
prefilledMapa map containing pre-filled responses(used when inviting people)

Read the Automation manual for more information.

Responses

Each submission of a web form is stored as a regular document (in the folder specified by the Destination setting) where the responses are saved as extended attributes.

In the Responses tab, you see all the responses received by the system.

Web Form responses
 

Notifications

You may ask LogicalDOC to notify a set of users when new responses has been received.

Statistics

LogicalDOC also renders some statistics for the different answers.

Web Form statistics
 

Inviting people

You can also invite people to fill the web form by email, LogicalDOC helps you in composing the message by including a link to the form. Right-click on the form and choose Invite. Fill the email dialog with the recipients, your custom message and click Send to have LogicalDOC to email all the recipient with a link inside that leads to the web form.