Allow editing of "Your email address" text description on "Submit a request"

Respondida

5 Comentários

  • Vladan Jovic

    Hi Stephen, you are right, there is no native option to edit this label.
    But you can edit this text with little JS code. 

    • go to https://YOUR_ZD_SUBDOMAIN.zendesk.com/hc/admin/appearance#editor
    • on the left drop-down choose New request page
    • paste this code on the very bottom

    <script>
    $('.form-field.string.required.request_anonymous_requester_email label').text('Your university-provided email address');
    </script>
    • Save
    • Publish

    Hope this helps!

    1
  • DS RF

    Hi, how would you do this for the "Attachments" label?

    The URL from your original post is outdated, but I found new_request_page.hbs in the theme editor.

    <script>
    $('.form-field.string.required.request_anonymous_requester_email label').text('your custom email address tag');
    </script>

    That worked for the email address, but I can't figure out the correct attribute to target attachments.  "$('.form-field label').text('my custom attachments text');" works, except that it changes every form label :)

    0
  • Vladan Jovic

    Hey hey, this one should do the trick :)

    <script>
    $('label[for="request-attachments"]').text('your custom attachment label');
    </script>

     

     

    0
  • DS RF

    Awesome, worked great, thank you!

    0
  • Timo

    Does the above code accept dynamic content? If so, how would I go about using that so we can have this localised for all languages? 

    0

Por favor, entrar para comentar.

Desenvolvido por Zendesk