Allow editing of "Your email address" text description on "Submit a request"
RespondidaWe've been clients for 3 years now, but we still do not have the option to edit the "Your email address" text on the default "Submit a request" form. As a University, users bring all sorts of strange email addresses with them -- a number of which do not identify the user filling out the request. We desperately wish to modify this text to read "Your university-provided email address" so that users understand we require this information in order to provide technical support. We waste an incredible amount of time going back & forth with students just to identify who they are before we can even begin providing support to them.
-
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!
-
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 :)
-
Hey hey, this one should do the trick :)
<script>
$('label[for="request-attachments"]').text('your custom attachment label');
</script> -
Awesome, worked great, thank you!
-
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?
-
Is it possible to re-order the email field (ie push lower down on the page) on the new request page?
-
Hey Timo, Yes, the code I provided will work with a DC item as well. You just need to create a DC item first with all versions and then insert his DC placeholder instead of the text I put there.
Danny, yes, that is possible but will require some JS coding. If you have a JS dev in your team, it should be pretty straightforward to him.
Por favor, entrar para comentar.
7 Comentários