Hi
I have 3 forms and would like each one to have a different hardcoded Description.
I have the following code already, but this is applied to all forms.
Is there a way to assign a different description by form ID or name similar to below?
$('#request_description').val('System Access Form'); // Autofill description
Thank you for your response. Thanks for clarifying! Since your form ID comes from the URL parameter ticket_form_id, you need to read that parameter from the URL, then set the description value based on it.
Here’s how you can do it with jQuery and vanilla JS:
Please make sure this script runs after the form's HTML is loaded (e.g., inside $(document).ready() as above), and that the #request_description element exists on the page.