Ricerche recenti


Nessuna ricerca recente

Matthew Kisow's Avatar

Matthew Kisow

Data ingresso 15 apr 2021

·

Ultima attività 14 feb 2022

Seguiti

0

Follower

0

Attività totali

4

Voti

0

Abbonamenti

3

PANORAMICA ATTIVITÀ

Ultima attività di Matthew Kisow

Matthew Kisow ha creato un post,

Post 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
     }

});

 

 

Data ultimo post: 05 giu 2017 · Matthew Kisow

0

Follower

20

Voti

31

Commenti