Text before ticket form fields?
AnsweredI've searched for this and found some similar threads, but I can't quite find what I'm looking for.
We have a submit a request form for customers who can't find the answer to their questions. At the moment it's just a form of fields without any introduction text - which would be very handy to set the scene of what our support function can/can't help with.
Is there a way of adding some wording/links below the "Submit a request" header, and before the form fields?
Thanks
-
Hi Rich,
If I understand your request, there is absolutely a way to do this. You would have to modify the code, however. On my theme, I have renamed the "Submit a request" to "Submit a Ticket" but you can have it named whatever.
To Add Text:
- Open the Guide section.
- Click the eye icon (for Customise Design).
- Click Customize on the theme you want to change.
- Click Edit Code at the bottom-right.
- Open the new_request_page.hbs section.
Your current code might look something like this:
<h1 class="page-header">
Submit a Ticket
{{#if follow_up}}
<span class="follow-up-hint">
{{follow_up}}
</span>
{{/if}}
</h1>
<br>
<div class="form">
{{request_form}}
</div>You would just need to add text in the desired area like this:
<h1 class="page-header">
Submit a Ticket
{{#if follow_up}}
<span class="follow-up-hint">
{{follow_up}}
</span>
{{/if}}
</h1>
<br>
<p>This is where you would enter the text you want to show</p>
<div class="form">
{{request_form}}
</div>Feel free to just copy and paste this or use it as a reference but it should give you what you are looking for. I used <p> but you can use any type of text if you want different sizes.
Hope this helps!
-
This is what it looks like with the first bit of code:
And this is what it looks like with the second bit of code:
-
Thanks so much kyle - this is exactly what I've been looking for!
-
Perfect! Glad I could help!
-
Hi guys,
Could anyone advise how we can do this for only one/specific form?
Thanks,
Anastasia
Please sign in to leave a comment.
5 Comments