since ‎25-03-2015
‎10-12-2019
petergas1
Level 1
Recent deployment change - form1.execValidate is not a function! Crashing Reader
Avatar

petergas1

petergas1
- Adobe LiveCycle
Recent rollout of a new Reader (XI 11.0.21). New registry keys could've been rolled out as well.So at least three solidly working forms are now failing. In fact Reader is crashing.One caught failure in the Acrobat console was form1.execValidate is not a function. This has always worked in the past and works in my development environment.And strangely - Reader then seems to (often) crash. Go figure.Ideas???

Views

329

Likes

0

Replies

0
Re: Unable to populate date field on form initialize event
Avatar

petergas1

petergas1
- Adobe LiveCycle
Here's how I populate a date field w/ 'now' - where the validation pattern is date{YYYY-MM-DD}code var oRightNow=new Date(); oToday=new Date(oRightNow.getFullYear(),oRightNow.getMonth(),oRightNow.getDate()); // oToday is a global for other reasons geDate.rawValue = fFormatDate(oToday);with functions defined as...function fFormatDate(oDate) { var iMonth=oDate.getMonth()+1; var iDay=oDate.getDate(); var iYear=oDate.getFullYear(); // return iMonth+"/"+iDay+"/"+iYear; return iYear+"-"+fEnsure2Digits...

Views

616

Likes

0

Replies

0
Re: extract and email specific page
Avatar

petergas1

petergas1
- Adobe LiveCycle
The easiest way to do this (what I call 'workflow lite') is to keep the form 2 pages, but hide/show the material that shouldn't be shown as appropriate. You can keep state in the form easily by using, say hidden checkboxes or other means.btw, the 'preview PDF' feature never worked for me - I have to test the form in Acrobat.

Views

535

Likes

0

Replies

0
Nested tables fall apart after an email
Avatar

petergas1

petergas1
- Adobe LiveCycle
I have nested tables that work fine. Here's how they look:As an fyi - the code behind is:Add buttons - $.parent.tbl.Row.instanceManager.addInstance();Remove buttons - $.parent.instanceManager.removeInstance($.parent.index);emailvar cDoc = event.target;var aUrl="mailto:peter.gaston@gmail.com?subject=test&body=testtesttest";cDoc.submitForm({ cURL: aUrl, cSubmitAs: "PDF", cCharSet: "utf-8" });And, after the email, the attachment looks like this, i.e., the nested tables have fallen apart. Ideas? Exp...

Views

488

Likes

0

Replies

0
Accessibility on user created 'tab strip' control
Avatar

petergas1

petergas1
- Adobe LiveCycle
I've created a form that uses 'tabs' that I've created to organize the document. Great. Basically each tab has graphics, a button to detect the hit, and a hidden checkbox to remember state.) Under each tab of course is specific content for that tab.Now I need to make this form accessible. It seems like this tab strip is my sticking point.Any ideas?p

Views

496

Likes

0

Replies

0
I need to lower my Reader load time - optimization ideas?
Avatar

petergas1

petergas1
- Adobe LiveCycle
Okay, I have a big LiveCycle form - weighing in at 680KB with 1500 lines of Javascript. No server involved - this is loading a pdf (XDP format) into Reader on the client.I'm tracking load timing and it's taking about 29 seconds all in to go from the first time I can measure till form:ready. Breaking that down it seems that the vast majority of the time it's simply doing, well something - who knows for 25 of those 29 seconds. It doesn't seem to be calling any of my code for that period - what is ...

Views

327

Likes

0

Replies

0
Re: Why do I get a message saying "____ cannot be left blank" error message upon opening a form?
Avatar

petergas1

petergas1
- Adobe LiveCycle
You could of course do this manually, testing each field for completion and validity. btw, just yesterday I was trying to turn the validation 'off' temporarily so I could silently test just your situation. However it seems that is not possible as this is a read only attribute of the form.

Views

819

Likes

0

Replies

0
Color Mandatory Fields doesn't show
Avatar

petergas1

petergas1
- Adobe LiveCycle
I have a relatively complex form with a number of "User Entered - Required" fields. In global settings for Form Validation there are checks for the first three items, namely 'Show Dialog Message', 'Color Failed Fields', and 'Color Mandatory Fields'. In 'Color Mandatory Fields' I have the checkbox checked for 'Color mandatory fields that are not filled-in'.At present the first two work like a champ when I trigger them using the execValidate function. However, I was hoping that I could more nicely...

Views

326

Likes

0

Replies

0
Re: Why do I get a message saying "____ cannot be left blank" error message upon opening a form?
Avatar

petergas1

petergas1
- Adobe LiveCycle
Because those fields are of type "User Entered - Required". (And a validation check is apparently triggered when you open a form?)

Views

820

Likes

0

Replies

0