since ‎05-03-2008
‎10-12-2019
_Eric_Fiori_
Level 2
Trigger NullTest within Script _Eric_Fiori_ - Adobe LiveCycle
is there a way to trigger a nullTest validation within a script without having to click submit? Thanks
190
Views
0
Likes
1
Replies
Linking to a file on the LAN via app.launchURL _Eric_Fiori_ - Adobe LiveCycle
I'm trying to link to a file on another drive from within the click event of a field, app.launchURL("T:/folder/file.txt")The javascript debugger outputs:NotAllowedError: Security settings prevent access to this property or method.Is there something I can change to allow this to work?Thanks
328
Views
0
Likes
3
Replies
Re: Viewing Source in JavaScript Debugger _Eric_Fiori_ - Adobe LiveCycle
Has Anyone had any success viewing livecycle javascript source in the debugger?
19
Views
0
Likes
0
Replies
Viewing Source in JavaScript Debugger _Eric_Fiori_ - Adobe LiveCycle
Whenever I try to debug a form, the debugger window opens but the source of the currently executing javascript isn't shown in the debugger. The scripts pane in the upper left is also blank. When the debugger opens to debug a script i get a message in the lower left hand corner of the debugger window:"Unable to find source for Document-Level:!ADBE::0100_VersChkStrings"Does anyone know how to get the javascript debugger to find the javascript sources for the currently executing pdf??Thanks
261
Views
0
Likes
1
Replies
Re: Accessing XML Data from JavaScript _Eric_Fiori_ - Adobe LiveCycle
I figured out how to access it in a different manner, $record.fields.nodes.item(i).valueis giving me the ith zero-based value. I should be able to ensure I'm getting AcctNm fields by checkingthe name property before using the value.I'm not sure why the other methods don't work....
164
Views
0
Likes
0
Replies
Re: Accessing XML Data from JavaScript _Eric_Fiori_ - Adobe LiveCycle
Hmm somethings not jiving here...The loop actually crashes livecycle designer...The single line statment gets the following error:TypeError: $record.fields.AcctNm.item is not a function1:XFA:fields[0]:readyI'm using livecycle 8.0, does that make a difference?I'm stumped..Thx
164
Views
0
Likes
0
Replies
Re: Accessing XML Data from JavaScript _Eric_Fiori_ - Adobe LiveCycle
Thanks for the response, that got me closer..Unfortunately the index seems to be giving me problems.Javascript debugger reported:TypeError: $record.fields.AcctNm[1] has no properties5:XFA:fields[0]:readyWhen i remove the index so it looks like $record.fields.AcctNm.valueI get the first value, 'Testing'. I'm confused as to why the indexing causes an error.... Any ideas??Thanks again.
164
Views
0
Likes
0
Replies
Accessing XML Data from JavaScript _Eric_Fiori_ - Adobe LiveCycle
How would I go about accessing the current XML data within a javascript initialize function?If i have an xml file: Testing Testing2 Testing3How would i get to the array containing these values while a javascript initialization function is executing?I've tried app.alert($record.AcctNm[1]); but its coming back as undefined?app.alert($record.AcctNm);is of type [object xfaObject], but how do I access individual elements and what method gets at the text within the xml file?Thanks
1290
Views
0
Likes
7
Replies
Data Drivent Dynamic Layout _Eric_Fiori_ - Adobe LiveCycle
I have a dynamic form that needs to vary the layout of a subform based on the number of data items in an xml file. I have a subform set to automatically repeat for each item in the data file. It works fine for just outputing the dataitems but it always just grows vertically. I need to have it grow vertically when there are between 1 and 17 data items, if there are more than 17 i need to have the repeating output shift to a new column and continue upto 17 more items. In ascii it would look someth...
225
Views
0
Likes
1
Replies