Display Text Field in Submit a Request Form

Answered

1 Comments

  • Sam

    Hi Graham Ferguson!

    You can append text to the field with a little bit of scripting in your theme. This will append text to the field, a la Field Description, but you can format it as HTML and include breaks, formatting, etc.

    Make sure jQuery is also installed in your environment.

    Try the following:

    1. Go to Zendesk -> Admin Center -> Objects and Rules -> Tickets -> Fields and edit the field you'd like to update the description for.
    2. Get the Field ID # and empty out the current Description shown to customers field
    3. Save the field
    4. Go to Zendesk -> Guide -> Guide Admin -> Customize Design and click Customize for the theme you'd like to edit
    5. In the lower-right, select Edit code
    6. In your code editor, locate script.js
    7. Use the following code:
    $(document).ready(function() { 
    $('div.request_custom_fields_fieldid#').append('html text here');
    });

    Example:

    $(document).ready(function() { 
    $('div.request_custom_fields_123456789').append('<b>Priority 1:</b> Things are on fire!');
    });
    0

Please sign in to leave a comment.

Powered by Zendesk