Text before ticket form fields?

Answered

7 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

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

    0
  • Kyle B
    Community Moderator

    Perfect! Glad I could help! 

    0
  • Anastasia Kachanova

    Hi guys,

     

    Could anyone advise how we can do this for only one/specific form? 

     

    Thanks,

    Anastasia

    2
  • Morris Coyle

    Hi Anastasia Kachanova

    Did you ever find a solution for this? I have the exact same requirement.

    Thanks,

    Moz

    0
  • Anastasia Kachanova

    Hi Moz,

    No, we didn't found any proper solution for this yet and this is the reason why we have changed our approach in submit a request forms. I think that you can get help from 3rd party recourses with this (check "Lotus themes" for example i'm sure they can do this for you).

    Regards,

    Anastasia

    0

Please sign in to leave a comment.

Powered by Zendesk