Vor Kurzem aufgerufene Suchen
Keine vor kurzem aufgerufene Suchen

Matthew Kisow
Beigetreten 15. Apr. 2021
·
Letzte Aktivität 14. Feb. 2022
Folge ich
0
Follower
0
Gesamtaktivitäten
4
Stimmen
0
Abonnements
3
AKTIVITÄTSÜBERSICHT
BADGES
BEITRÄGE
POSTS
COMMUNITY-KOMMENTARE
BEITRAGSKOMMENTARE
AKTIVITÄTSÜBERSICHT
Neueste Aktivität von Matthew Kisow
Matthew Kisow hat einen Post erstellt
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
}
});
Gepostet 05. Juni 2017 · Matthew Kisow
0
Follower
20
Stimmen
31
Kommentare