Búsquedas recientes


No hay búsquedas recientes

Matthew Kisow's Avatar

Matthew Kisow

Incorporación 15 abr 2021

·

Última actividad 14 feb 2022

Seguimientos

0

Seguidores

0

Actividad total

4

Votos

0

Suscripciones

3

RESUMEN DE LA ACTIVIDAD

Última actividad de Matthew Kisow

Matthew Kisow creó una publicación,

Publicación 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
     }

});

 

 

Publicado 05 jun 2017 · Matthew Kisow

0

Seguidores

20

Votos

31

Comentarios