You cannot have a response set that is not editable by the user. However, you can use field scripting to create a template in which the user makes a selection, and then based on that selection, other fields on the template are populated. The user would not be able to edit these fields. You would need a field on the master pdf for the dropdown list where the user makes a selection and one for each of the fields that need to be populated based on that selection. The fields would be set up like this:
Field one - contains the dropdown selection
- Field type tab - text coming from user entry
- Format tab - Field usage should be set to "Hide Field"
- Data capture tab - User control type = dropdown list
- The List options would look like this:
- The initial A and B would need to be replaced by the options you would like the user to see/select.
Field two - contains the text that needs to populate the field based on the selection in field one
- Field type tab - text coming from static text or field scripting
- Field Scripting tab - Set the script type to be VB. The script would look like this:
Choose(FieldOne, "A|Phone number for location A|B|Phone number for Location B", "")
- You would replace FieldOne with the name of the field containing the dropdownlist.
- You would replace Phone number for location A and Phone number for location B with the actual text you want to populate the field.
Each subsequent field that needs to be populated based on the selection in Field One would be set up in the exact same manner as Field two.
Note: Do not copy and paste the VB script sample directly from your web browser into eDocBuilder, as the formatting used to display it in your browser may also be copied and may make your script work incorrectly. Please first paste the script into a plain text editor (such as Notepad). Then copy the script from the plain text editor and paste it into the Field Scripting tab of your field in eDocBuilder.