You need to sign in to do that
Don't have an account?
Rajeev Sengar 2
How to display the text field based on a response received for a survey question?
We have a requirement where we have posted a question in a salesforce survey with some picklist values. One of the picklist values is "Other". So if the user selects the "Other" option then a new free text field should appear.
Can we display a free text field in a survey based on a response that the user has selected?
Can we display a free text field in a survey based on a response that the user has selected?
Assuming you are using Visualforce or LWC to display picklist options. You can set some variable or call javascript method to render the Free text field on Picklist value changes. Use validation on Free Text field to render only when other picklist value is set to "Other". Reload the components each time picklist value changes.
Thanks