How can I customize the forms used in the Web Widget?
In the standard web widget config, you can select for the widget to display forms. In the UI config you are only able to display all forms associated with your brand's Help Center. However, you can customize a limited number/selection of forms by adding the snippet for the widget from a different brand.
Say we have 10 forms total. Brand A has 8 forms associated with it. We only want to focus on 3 of them to show up in the Help Center widget, but enabling forms displays all 8 of the brand's forms. I created a Brand B that we don't actually use, associated those 3 forms with it, and used the snippet for the Brand B widget to embed it on Help Center A.
You'd probably want to have a trigger in place to change the brand back to A, and may need assignment triggers updated if you're using brand as a condition, but this allows you to have the subset of forms you're customizing for.
To do the same in your help center, you would need to disable the option to Automatically add the Web Widget to your Help Center. Then, add the scripts for the settings and the actual widget manually to the theme code in its header.
Hope that helps.
Ahmed Zaid - it looks like this solution presents the same weakness as the one used on the standard form page - hard-coding form IDs into on-page assets. It seems like this is also the same method - rather than displaying a subset, it is hiding designated forms by ID.
Please sign in to leave a comment.