Sample template is here: http://1drv.ms/1NHma2k
Sample filled is here: http://1drv.ms/1NHmnm0 On Tue, Oct 27, 2015 at 11:21 PM Maruan Sahyoun <[email protected]> wrote: > Hi, > > > Am 28.10.2015 um 04:47 schrieb Tolen Miller <[email protected]>: > > > > Hello, > > > > I am working on a form produced in Adobe Livecycle, which is being filled > > via PDFBox 1.8.10. I am wondering what options I have to show/hide a > field > > based on it's value (and possibly a list of field names since some fields > > should always show). i.e. there are several fields I would like to hide > > (or table rows that contain them), when they are null. > > > > Normally, I could do this in an initialization javascript on the > livecycle > > form itself (all users use Adobe's Reader), but this does not seem to > work > > when opening the form after filling it with PDFBox. Is this not > supported? > > Does editing the form destroy the scripts or is something else happening? > > would it be possible to upload a sample form before and after filling to a > public location and mention the field which should be affected by the JS. > > PDFBox does not execute any JS - be it in AcroForms or XFA. But the Adobe > Reader should execute it - dependent on the event the JS is in. > > BR > Maruan > > > > > I would either like to persist the scripts that exist on the form so they > > may execute; create scripts in java code to add to the form; or create > the > > functionality in java and omit js entirely. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

