Forms as input
Introduction
Ultradox forms are very powerful.
You can create surveys, fillable PDF documents, user interfaces and more.
Example
This example shows how to create a party invitation form
First create a Google Doc “My Invitation” that contains the following text. It already contains the variables that should be derived from the form:
Hello ${name}! I would like to invite you to our party on ${partyDate;date}! We are expecting about ${numberOfGuests;number} guests. ${if male}Please bring some of your ex-girlfriends with you.${end} It would be great if you could support us with a lot of ${supplies}!
Loading input using a form
First add a Google Docs to PDF building blog and select your Google Doc “My Invitation”.
When clicking on the keyboard icon in the template building block
Ultradox will generate a default form above for the detected variables:
Customize your form using the form editor
You can customize the form by configuring the prompt, placeholder and type of each field. In the following we will show how to improve the form by picking the desired type for each field.
Click on the bold title of the Enter values building block to launch the form editor to improve the user experience.
On the right hand side of the editor you will get a preview of the form.
When opening the editor it will look identical to the input section in the forms building block as we have not yet made any changes.
On the left hand side of the editor you will find a editor panel for each form field.
Field type
Ultradox generates a form field type based on the variables found. If no renderer is specified for the variable (Hello ${name}), Ultradox returns a short text
form field:
If a renderer follows the variable (${partyDate; date}), in this case date
, Ultradox choose the date
form field:
For the variable numberOfGuests
with the renderer number
(${numberOfGuests; number}) a form field number
is created:
Changing the prompt and placeholder of a field
Ultradox generated a default prompt for each field. Let us change the prompt for the name field to a more meaningful message.
As the name variable represents the name of one of our party guests, let us change the prompt to enter the name of the guest. If the user has not yet entered a name, the field will show the Placeholder as a hint. Let us change the placeholder from name
to Guest's name
.
The preview on the right hand side of the editor automatically reflects the changes whenever we update the form. In the same way we can change the prompt for the male field.
Change the order of the fields
You can change the order of the fields simply by drag and drop.
Apply form and save your changes
When you are done with editing the form click on Apply
to save your changes. Our customized form will make it much easier to enter the required data.
Questions and Feedback
If you have any comments on this page, feel free to add suggestions right to the Google document that we are using to create this site.
If you are not yet member of the Ultradox community on Google+, please join now to get updates from our end or to provide feedback, bug reports or discuss with other users.
Last Updated: 21.04.23