About this article
This article will explain how to allow the user to input only in the response form so it can be utilized to populate the smart template.
How to restrict the input to numbers in the response form?
When building the response form, the
Number question can be utilized to restrict the input to integer numbers, without fractional part numbers. Creating a
Number question can be achieved by following these steps:
- In the Template Designer, navigate to the
- Enter the
This will be displayed to end-user and will guide them to provide the relevant answer
- Optionally, set additional settings to the question
Required: Enable this option if the user should be prevented from finalizing the generation of the template if the input is missing. An asterisk will be displayed in the response form to indicate that the question is mandatory.
Hint text: Prepopulate the question to guide the user when filling in the response form of the expected answer. The hint text will be deleted when the user selects the question.
Reference name: Will be prepopulated based on the question title. The reference name will be displayed when utilizing the form responses smart field and is also the
Nameutilized in the binding syntax.
Prefilled numeric value: Prepopulate the question to guide the user when filling in the response form of the expected answer. The prefill text can be edited and will remain when the user selects the question. It can utilize simple text or the binding syntax to achieve more complex use cases.
Spacing before: Edit the space between the question and the elements above it in the response form (none, medium, or large).
Space after: Edit the space between the question and the elements below it in the response form (none, medium, or large).
Helptext prefix: Add additional help text above the question to guide the user when filling in the response form of the expected answer.
Helptext postfix: Add additional help text below the question to guide the user when filling in the response form of the expected answer.
Share value: Enable this option if the same question will be utilized in the response form of dynamic text elements or slides that would be inserted when generating a document or a presentation. The answer to this question will be reused to avoid prompting the user with redundant questions.
Add to form
Numberquestion will be added to the response form
- The question will be displayed in the form responses smart field using its
Reference nameof the question can be utilized in binding syntax to achieve more complex use cases using the Custom text binding smart field or to set template settings and properties.
Number question example
Required validity question
Number question using " Valid for X days::" as the
Question title and the
Article is closed for comments.