最近の検索


最近の検索はありません

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

コメント