Vor Kurzem aufgerufene Suchen


Keine vor kurzem aufgerufene Suchen

Dorte Engelund Thybring's Avatar

Dorte Engelund Thybring

Beigetreten 25. Juni 2024

·

Letzte Aktivität 21. Nov. 2024

Folge ich

0

Follower

0

Gesamtaktivitäten

4

Stimmen

0

Abonnements

2

AKTIVITÄTSÜBERSICHT

Neueste Aktivität von Dorte Engelund Thybring

Dorte Engelund Thybring hat einen Kommentar hinterlassen

KommentarGeneral questions and issues about tickets

Is there no way of changing the look or text on the buttons?

As other users comments, none of the suggested solutions would work for us, but users misunderstand the buttons and end up closing their tickets by mistake. If we could go into the code of the Guide module and change the buttons, then it would be really useful.

Kommentar anzeigen · Gepostet 21. Nov. 2024 · Dorte Engelund Thybring

0

Follower

1

Stimme

0

Kommentare


Dorte Engelund Thybring hat einen Kommentar hinterlassen

KommentarHow to customize the theme of the help center

I have followed the instructions and made it work - the Subject field gets filled, and both Subject and Description are hidden.

The only issue I have is that Description field is not showing the text I am trying to get in.

 

If I do a console.log($('#request_description').val()); - like Andy Pitts - I do see the value shown in the console log, but NOT in the Description field. I can't submit the form, as it says the Description field is empty.

 

If I remove wysiwyg=true from the new_request_page.hbs, then it works, but I do want the users to be able to paste pictures into the description field.

 

So is there any way I can make this work without removing wysiwyg=true?

 

Here is my code:

 

$(document).ready(function() {
 var ticketForm = location.search.split('ticket_form_id=')[1];
 if(ticketForm == xxxxxxx) {
   $('#request_custom_fields_xxxxxxx').change(function () {
    
     
     var fieldchoice = $('#request_custom_fields_xxxxx').val();
          if (fieldchoice == ('request_study_number')) {
     
  
   $('#request_subject').val('Request new study number');
              console.log($('#request_subject').val());
   $('#request_description').val('Test Veeva description.');
            console.log($('#request_description').val());
         $('#request_subject').parent('.request_subject').hide(); // Hide subject
      $ ('#request_description').parent('.request_description').hide(); 
            
       
     } else {
        $('#request_subject').val('test subject blank');
       console.log($('#request_subject').val());
   $('#request_description').val('test blank'); 
       console.log($('#request_description').val());
            $('#request_subject').parent('.request_subject').show(); 
      $ ('#request_description').parent('.request_description').show(); 
      
            }})}});

 

 

I have added

Kommentar anzeigen · Gepostet 25. Juni 2024 · Dorte Engelund Thybring

0

Follower

0

Stimmen

0

Kommentare