Pesquisas recentes
Sem pesquisas recentes

Matthew Kisow
Entrou em 15 de abr. de 2021
·
Última atividade em 14 de fev. de 2022
Seguindo
0
Seguidores
0
Atividade total
4
Votos
0
Assinaturas
3
VISÃO GERAL DA ATIVIDADE
MEDALHAS
ARTIGOS
PUBLICAÇÕES
COMENTÁRIOS NA COMUNIDADE
COMENTÁRIOS EM ARTIGOS
VISÃO GERAL DA ATIVIDADE
Atividade mais recente por Matthew Kisow
Matthew Kisow criou uma publicação,
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
}
});
Publicado 05 de jun. de 2017 · Matthew Kisow
0
Seguidores
20
Votos
31
Comentários