So I have created a custom field called introductions in order to provide some narrative to a customer on why they are filling out certain fields on a ticket form.
The custom field is called introductions. I want this field to be populated with "This field is left intentionally blank". I have had luck with hiding and pre populating the subject and description fields but cannot get the code to work for the custom fields.
}
var ticketForm = location.search.split('ticket_form_id=')[1];
if(ticketForm == 360000065797) {
$('#request_subject').val('Introductions');
$('#request_description').val('Customer primary contact details');
$('#request_subject').parent('.request_subject').hide();
$('#request_description').parent('.request_description').hide();
$('#request_custom_field_introductions').val('This field is left intentionally blank');
}
What is wrong/missing from the above and is there another way to present a message at the top of a ticket form?