Text line on Ticket Forms?

Répondu

39 Commentaires

  • mtrl.bike
    Community Moderator

    @... Could you explain a little further what exactly are you trying to achieve?

    0
  • Dave Foster

    It turns out that all the jquery customizations will in fact work with the updated Templating API v2. After reading a little more into it, I found information to import a jquery library here.

    Thanks for following up!

    0
  • Nicole Saunders
    Zendesk Community Manager

    Glad to hear you got it figured out, Dave!

    0
  • Matthew Salas

    Hello,

    Is there a way to accomplish this within the agent screen?

    Use case: We have different payment programs for our customers depending on specific criteria. We have these broken down in a tree style with yes or no drop downs and there is a chance the customer may not be eligible for that particular program.

    Is there a way to display a message to an agent that would say 'Customer not eligible, please select a different program'?

    0
  • Gail Leinweber
    Zendesk Customer Care

    Hi Matthew,

    This is a case where you'd want the decision tree to only offer that program as an option if the customer is eligible, there's not a way to have the text prompt the agent in the way you describe.

    You might want to have agents work off a macro that has notes on the eligibility to call this out to them (like a checklist on a internal note), or have an internal knowledge base article that highlights the eligibility restrictions as an alternative.

    0
  • Alex Bravo

    I actually have the exact same question as Justin. There are some request categories (living in a dropdown) that we'd like to A) display a text message with no entry field associate with it B) ideally hide the form submission button so that if the user makes that selection, they actually cannot submit a request (for example, we want to direct them to another support page instead).

    0
  • Anna Roussanova

    Hey Alex, this would be possible with a whole lot of custom JS code in your Help Center theme. I'd encourage you to get your developers involved to look into doing that. Alternatively, you could engage with our professional services team who could build that out for you.

    0
  • François Bellavance

    Hi, thanks for the help that was done. I tried what was mentionned before but in my case it do not work. If I write the line to display the sentence, it works but selecting the value "Non" do not work as displaying the sentence.

    Did someone managed to do this?

    $("#request_custom_fields_13723326467347").change(function() {
      if ($("#request_custom_fields_13723326467347").val() == "Non") {
        $('#request_custom_fields_13723326467347').after("Afin d'obtenir un appareil, vous devez avoir un contrat de plus de 10% dans la même école.");
      }
    });

    As an explanation, I'm trying to display some text when someone select a value in a custom field from a form.

    0
  • Remi Saumet
    Zendesk Customer Care

    Good day François Bellavance,


    Thank you for your post, hope you are doing well today!

    I can confirm the following code works in my HC : 

    $("#request_custom_fields_1500001044062").change(function() {
      if ($("#request_custom_fields_1500001044062").val() == "valeur_numero_1") {
        $('#request_custom_fields_1500001044062').after("Afin d'obtenir un appareil, vous devez avoir un contrat de plus de 10% dans la même école.");
      }
    });

    Just remember, you need to use the "value" attribute tied to your option from your Drop-Down, example from my HC here : Recording can be viewed here.

    And screenshot here :

    You need to use the related "value" attribute for this option when building your IF condition. 

    Hope this clarifies it! Have a lovely rest of your day.

    Best regards,

    0

Vous devez vous connecter pour laisser un commentaire.

Réalisé par Zendesk