Scripting help with submit button.


my employer has assigned me task of creating pdf forms replace several older hr forms have printed , filled out hand.  many of these forms straight forward have unique challenge in regards creating vacation request form.  hr manager wants have form once requester clicks on submit button, email sent immediate supervisor based upon department chose drop down menu.  field name named department , has following options: admin, it, sales, service.  there me using javascript code submit button can send appropriate email address based upon department select in form?  in advance.

yes, can done using js. first step use export value of each item in drop-down email address want use. let's have item called "it". edit "item" value "it" , "export value" email address department, example "johnd@it.ourcompany.com".

after you've done script need use simple. it's (let's drop-down field called "dept"):

 

this.maildoc({ cto: this.getfield("dept").value }); 


More discussions in JavaScript


adobe

Comments

Popular posts from this blog

Illustrator CS6 Ocurrío un error E/S en el archivo.

Why is os_ViewContainer running?

Animate - problem with duplicating scripts after loop