Búsquedas recientes
No hay búsquedas recientes
How to pre-fill description box based on Custom Field value
Respondidas
Publicado 28 jul 2021
Hi All,
I'm seeking assistance on how to autopopulate the description box based on the value of a particular custom field. This for when an end user submits a form.
The custom field is a drop-down menu containing only 2 options
The Description box has been hidden to let us customise the ticket description.
This is my current code so far:
$('.form-field.request_description').hide();
if ($("#request_custom_fields_360025027158")=="OPTION A") {
$('#request_description').val('Description 1');}
else
{$('#request_description').val('Description 2');}
Any and all assistance would be appreciated.
1
13
0 comentarios
Iniciar sesión para dejar un comentario.