Scripting help with submit button.
My employer has assigned me the task of creating pdf forms to replace several older HR forms that currently have to be printed and filled out by hand. Many of these forms are very straight forward however I have a unique challenge in regards to creating a vacation request form. The HR manager wants to have the form so that once the requester clicks on the submit button, the email is sent to the immediate supervisor based upon the department that they chose from a drop down menu. The field name is named Department and has the following options: Admin, IT, Sales, Service. Is there a was for me using JavaScript to code the submit button so that it can send to the appropriate email address based upon the department they select in the form? Thanks in advance.
