Text before ticket form fields?

Answered

4 Comments

  • Kyle B
    Community Moderator

    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:

    1. Open the Guide section.
    2. Click the eye icon (for Customise Design).
    3. Click Customize on the theme you want to change.
    4. Click Edit Code at the bottom-right.
    5. 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! 

    1
  • Kyle B
    Community Moderator

    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:

    1
  • Rich S

    Thanks so much kyle - this is exactly what I've been looking for!

    0
  • Kyle B
    Community Moderator

    Perfect! Glad I could help! 

    0

Please sign in to leave a comment.

Powered by Zendesk