As part of the form designer you can create questions that are recorded as part of the form response, but are not mapped directly to fields in Dynamics 365. This article will focus on creating and customizing these questions.
1. Under Add Controls (Unmapped) use the drop down to select the field type.
2. Click Add Control
3. Next to the Control that appears under the section click Edit to customize
4. Customize the Question as Needed
- Question Label - Enter the question text to display to end users
- Required - Yes means the customer must provide an answer. No means the customer may leave the question blank
- Hidden - Yes will remove the question from view, No will allow the question to be seen
- Required Message - If the question is required include a validation message to display if the customer tries to continue without answering the question.
- Format - select for a quick fill of formatting validation if desired, Leave as custom to leave blank or to create your own.
- Format Expression - if you want to enforce specific formatting include the Regex here.
- Format Message - Provide users with the required format if they fail to meet it.
Under Advanced Settings
- Match Mapped Entity - Field For use with stand alone forms only. You can set a question to map to an existing record in CRM rather than creating new data. For example if you have a stand alone form and you ask for name, and email address, you can set the email address question to Yes on this field and it will link the form to the existing contact.
- Submitted by Contact Field - For use with stand alone forms only.
- Page Section - By default will be on the first page section but can be adjusted if there are multiple sections
- Question Sort Order - Set the order the questions will display in
5. Add Answers to Question Types if Applicable
To add your answers click Add Answer to get a new item in the grid. You can set a Name and Value (these can be the same or different but the name is what will display to customers).
Once you've added your values click Save to save the answer.
*Note if you don't save each answer, and only click Save Question, the answers will not be saved.
6. Click Save Question
The question text should display under the section identified in the customization.