최근 검색


최근 검색 없음

Matthew Kisow's Avatar

Matthew Kisow

가입한 날짜: 2021년 4월 15일

·

마지막 활동: 2022년 2월 14일

팔로잉

0

팔로워

0

총 활동 수

4

투표 수

0

플랜 수

3

활동 개요

님의 최근 활동 Matthew Kisow

Matthew Kisow님이 에 게시물을 만듦

게시물 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
     }

});

 

 

2017년 6월 05일에 게시됨 · Matthew Kisow

0

팔로워

20

투표 수

31

댓글