0 Replies Latest reply on Feb 13, 2013 9:53 AM by jdarville30

    Adobe LiveCycle - Has a working Submit Button with Dynamic Subject, Email but cannot change filetype

    jdarville30 Level 1

      Adobe LiveCycle - Has a working Submit Button with Dynamic Subject, Email but cannot change filetype.

       

      I have a hidden email buttton and a regular button with the following code

       

      EmailSubmitButton1.event__click.resolveNode("#submit").target = "mailto:customer@customer.com;"+e.rawValue+"?subject="+z.rawValue+"&body="+z.rawValue;

       

      EmailSubmitButton1.execEvent("click");

       

       

      The button works great but the filename is random characters and its a .xml.

       

      I did some research and i know the suggestions are to switch the button control type to submit and then change the filetype to PDF but then my submit button doesnt work anymore with the dynamic subject/email/body....any suggestions?

       

       

      Also is there anyway to dynamically change the filename as well?

       

      Please help, thank you!