Recent searches


No recent searches

Matthew Kisow's Avatar

Matthew Kisow

Joined Apr 15, 2021

·

Last activity Feb 14, 2022

Following

0

Followers

0

Total activity

4

Votes

0

Subscriptions

3

ACTIVITY OVERVIEW

Latest activity by Matthew Kisow

Matthew Kisow created a 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
     }

});

 

 

Posted Jun 05, 2017 · Matthew Kisow

0

Followers

20

Votes

31

Comments