最近の検索


最近の検索はありません

Autoset CC/Collaborator Field



投稿日時:2024年2月29日

I am looking to use JQuery/Javascript to push something into the CC field. I will write code around pulling it from another custom field when that custom field changes, but for now just trying to push something hard-coded into the field to see if I can access it.  Because the CC field is an array, I am having a difficult time. 

 

Here are all my failed novice attempts

            $('.form-field.request_cc_emails').val('test@test.com');
            $('.form-field.request_collaborators_').val('test@test.com');
           $('.request[collaborators][]').val('test@test.com');
            collaborators.push('test@test.com');
            $('.request[collaborators]').push('test@test.com');
            $('.request[collaborators]').val.push('test@test.com');
          $('.form-field.request_cc_emails').val('[test@test.com]');
            $('.form-field.request_collaborators_').val('[test@test.com]');

 

Any thoughts?


1

0

0件のコメント

サインインしてコメントを残してください。

お探しのものが見つかりませんか?

新規投稿