Can I add a disclaimer to a specific ticket form in Help Center?

Have more questions? Submit a request

11 Comments

  • Dan Cooper
    Comment actions Permalink

    This is an awesome tip.  Thanks for sharing! 

    1
  • Vladan Jovic
    Comment actions Permalink

    Really great tip! Thank you for sharing! Maybe one more thing from me:

    If you want to add more disclaimers to the page it's better to use Classes instead of IDs,

    so this part from the code:

    id="disclaimer" 

    should be

    class="disclaimer"

    and

    #disclaimer { color: red; }

    to this

    .disclaimer { color: red; }
    0
  • Leah
    Comment actions Permalink

    Great suggestion, Vladan! One thing to look out for when using classes is specificity issues. If you're using the Copenhagen theme, there's some default styling that will override 

    .disclaimer { color: red; }

    so, for the Copenhagen theme, you'd need to use something like

    .form-field .disclaimer  {color: red;} 

     to have your styling show up in the form field!

     

     

    1
  • Vladan Jovic
    Comment actions Permalink

    Ahhh, good catch, Leah! 

    0
  • Martin Lee
    Comment actions Permalink

    This looks super helpful.

    One question, if I want this translated, can I use Dynamic Content to deliver the disclaimer text in different languages?

    0
  • Wes Drury
    Comment actions Permalink

    @Martin - That shouldn't be an issue.  If your more advanced you can add the dynamic text into the Settings Panel and that way you could easily change the dynamic content without touching your code.  I have an entire Dynamic Content section for this Zendesk site and set it all up in the Settings Panel so it could easily be modified or swapped out by someone non-technical.  If you would like to see how that looks let me know and I'll post a screenshot.

    0
  • Martin Lee
    Comment actions Permalink

    I'm having some issues with this – I've changed the text in the following to be the name of the from but it doesn't seem to work. I'm wondering if this is because the from name is a dynamic content placeholder? Is it possible to identify by the Form ID instead of the name of the form?

    "Insert the name of your form to end users here"
    0
  • Jenni K.
    Comment actions Permalink

    Hi Martin,

    So it is true that the Dynamic Content would not work within the modify.js. However, if you take that same code and put it in on the Ticket Form template within a JS code block, with the Dynamic Content form name, that should still allow it to process! The JS can still go through on that template, and that way it will process it with the proper Dynamic Content ticket form name.

    1
  • Martin Aalborg
    Comment actions Permalink

    @Wes Drury can you still upload a screenshot of how you've set up the settings panel?

    0
  • Brett - Community Manager
    Comment actions Permalink

    Hey Martin,

    If Wes is unable to provide a screenshot, I would encourage you to take a look at the following article which goes over using dynamic content: Providing multiple language support with dynamic content (Professional and Enterprise)

    Hope this helps point you in the right direction!

    0
  • Martin Aalborg
    Comment actions Permalink

    Hey Brett

     

    Thank you for the link!

    I'll take a look at it and see if it can help with my problem. 

     

     

    0

Please sign in to leave a comment.

Powered by Zendesk