8 Replies Latest reply on Apr 7, 2011 12:43 PM by NateAtREIS1

    Run JavaScript before flattening in Output


      I have some forms that I sometimes need to flatten with Output before emailing to a user, sometimes not. On these forms I have some JavaScript that decides if certain fields are visible or not depending on certain data in the forms. This JS works fine when I render the form unflattened (i.e. not using Output). When I flatten the form with Output, my JavaScript doesn't run and the fields are unaffected. Is there any way around this? I would love to find a way to do this on the PDF rather than get in to some custom server side code in my PHP.


      - Nathan