since ‎25-03-2015
‎10-12-2019
petergas1
Level 1
Recent deployment change - form1.execValidate is not a function! Crashing Reader 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???
300
Views
0
Likes
0
Answers and Comments
Re: Unable to populate date field on form initialize event 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...
571
Views
0
Likes
0
Answers
Re: extract and email specific page 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.
493
Views
0
Likes
0
Answers
Nested tables fall apart after an email 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...
452
Views
0
Likes
0
Answers and Comments
Accessibility on user created 'tab strip' control 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
461
Views
0
Likes
0
Answers and Comments
I need to lower my Reader load time - optimization ideas? 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 ...
291
Views
0
Likes
0
Answers and Comments
Re: Why do I get a message saying "____ cannot be left blank" error message upon opening a form? 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.
750
Views
0
Likes
0
Answers
Color Mandatory Fields doesn't show 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...
287
Views
0
Likes
0
Answers and Comments
Re: Why do I get a message saying "____ cannot be left blank" error message upon opening a form? petergas1 - Adobe LiveCycle
Because those fields are of type "User Entered - Required". (And a validation check is apparently triggered when you open a form?)
751
Views
0
Likes
0
Answers