Recherches récentes


Pas de recherche récente

Matthew Kisow's Avatar

Matthew Kisow

Adhésion le 15 avr. 2021

·

Dernière activité le 14 févr. 2022

Suivis

0

Abonnés

0

Activité totale

4

Votes

0

Abonnements

3

APERÇU DES ACTIVITÉS

Dernière activité effectuée par Matthew Kisow

Matthew Kisow a créé une publication,

Publication Q&A - Objects, workspaces, and rules

Utilizing a custom JS listener on the "New Request Page" I want to listen for my "custom field" and set the subject and description based on the selection.  I think I can access this based on the following code and a case or select statement; can anyone tell me if i'm on the correct path.

custom_field_75567587.addEventListener('change', function() { 

     switch (custom_field_75567587.value){
          case conference_room:
          $('.form-field.request_subject').hide(); // Hide subject
          $('.form-field.request_description').hide(); // Hide description
          $('#request_subject').val('Conference Room Setup'); // autofill subject
          $('#request_description').val('test description'); // autofill description
     }

});

 

 

Publication le 05 juin 2017 · Matthew Kisow

0

Abonnés

20

Votes

31

Commentaires