reorder email field on ticket form

Respondida

4 Comentarios

  • Trapta
    Community Moderator

    Hi @Amie B,

    Try putting the below code at the bottom of your new_request_page.hbs file:

    <script>
    var emailField = $('.request_anonymous_requester_email').clone();
    $('.request_anonymous_requester_email').next().after(emailField);
    $('.request_anonymous_requester_email').first().remove();
    </script>

    Let me know if this solves your issue.

    Team Diziana

    0
  • Anastasia Unruh

    Hi all,

    thank you for the helpful information.

    I inserted the code into our new_request_page.hbs, now it's not at the top of the form anymore. But it's on the 3rd place now. Do you know any workaround I can display e-mail adress at the bottom of the ticket form after "description"?

    0
  • Michael Krampl

    Anastasia Unruh

    you can add some more next() in this line: $('.request_anonymous_requester_email').next().after(emailField);

    then you can move the field to the bottom. just try it out, for me it worked fine like this:

    $('.request_anonymous_requester_email').next().next().next().next().after(emailField);

    1
  • Anastasia Unruh

    Great, it works!

    Thank you!!

    0

Iniciar sesión para dejar un comentario.

Tecnología de Zendesk