Hi,
I'm working on adding a new contact form to our help center and routing end users to specific ticket form based on where they clicked the submit a request link (thanks to help from Ifra Saqlain & the community!!).
Now, I am hoping I can customize text above the request form based on the ticket form id (today we have one from with text above it without special logic). What I want now is:
- Have Ticket Form A show Text A above the form
- Have Ticket Form B to show Text B above the form
- Have Text C follow both Text A and Text B above the form.
I've tried the code below but it's not working. Text A appears on both forms, and, it appears UNDER B. Does anyone know how to do this/what's up with my code?
{{#each ticket_forms}}
{{#is id 123}}
<p>Text A</p>
{{else}}
<p>Text B</p>
{{/is}}
{{/each}}
<p>Text C</p>
<br>
<div class="new-request-form">
{{request_form}}
</div>



Thanks for sharing the additional details!
To have text appear beneath a custom field only when a specific drop-down value is selected, some custom JavaScript would be necessary. While the new_request_tip_text element works well for static tip text, showing or hiding text based on the selected option requires listening for field changes and dynamically adjusting the display.
This approach typically involves adding an event listener to the drop-down and toggling the visibility of the disclaimer text accordingly within your theme’s JavaScript.
Hope this helps clarify how it can be achieved!