Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Archyron
Archyron
Offline

Badges

Badges
7

Accepted Solutions

Accepted Solutions
2

Likes Received

Likes Received
2

Posts & Comments

Posts & Comments
7

Discussions

Discussions
0

Questions

Questions
1

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by Archyron
Customize the badges you want to showcase on your profile
Re: Exporting Form Data Into Separate PDF Document - Adobe LiveCycle 22-11-2016
The key to this is to create an AcroForm PDF template to store your data. Then you can open that file and write in the data.var doc = event.target;// This opens the AcroForm. It must be contained in the same directory as the XFA form.var reportDoc = app.openDoc({ cPath: "Template.pdf", oDoc: doc, bHidden: false});//Fill in the field valuesreportDoc.getField("fieldName").value = "formData";

Views

1.7K

Like

1

Replies

0
Re: date format as MM/DD/YYYY? - Adobe LiveCycle 22-11-2016
If you're trying to enter a date I don't see why you would want to use a text field over a date field. However, if you absolutely need a text field you could use regex in the validate event like so:if (!(this.isNull || this.rawValue.length == 0)) { //Test for MM/DD/YYYY format var pattern = new RegExp("^(0[1-9]|1[0-2])\/(0[1-9]|1\d|2\d|3[01])\/\d{4}$","g"); var isMatch = pattern.test(this.rawValue); if(!isMatch) xfa.host.messageBox("The date you entered is in an incorrect format", "Error");}//Di...

Views

2.8K

Likes

0

Replies

0
Re: date format as MM/DD/YYYY? - Adobe LiveCycle 10-11-2016
Use the validation pattern: date{MM/DD/YYYY}

Views

2.8K

Likes

0

Replies

0
Re: Transferring Attachments - Adobe LiveCycle 08-11-2016
In case anyone has the same problem here is the solution. Used the content stream versus the Doc object.//Attach documentsif (doc.dataObjects) { doc.dataObjects.forEach(function(attachment, i, a) { var contentStream = doc.getDataObjectContents(attachment.name); reportDoc.createDataObject(attachment.name, "Temp Data."); reportDoc.setDataObjectContents(attachment.name, contentStream); doc.removeDataObject(attachment.name); });}

Views

1.9K

Likes

0

Replies

0
Re: Displaying a hidden field, once it has data. - Adobe LiveCycle 04-11-2016
No you should be fine there. I believe I misinterpreted your intent from your code... This is the code you want to use: if (this.rawValue == 1) { this.resolveNode("RAConcur.Comments").presence="visible";}Just make sure you place the code into the change event of your radio button and that the value of your radio button actually does evaluate to 1.

Views

2.3K

Like

1

Replies

0
Re: Displaying a hidden field, once it has data. - Adobe LiveCycle 04-11-2016
You are missing your semicolons.var choice = this.resolveNode("RAConcur.Comments").rawValue;if (choice == 1) this.presence = "visible";Livecycle is a poor place to learn proper javascript syntax as it is not a proper editor. Try some quick online courses to get some of the basics down and I can assure you'll have a much better experience.

Views

2.3K

Likes

0

Replies

0
Transferring Attachments - Adobe LiveCycle 14-10-2016
I have a database connected XFA form that opens and fills out a separate 'report' form before sending it to the client via email. The issue i'm having is trying to transfer over all PDF attachments to the report form so that they get sent along with the report form.var doc = event.target;var reportDoc = null;var attachment = null;var formData = dataBridge.getData();//Open the report filereportDoc = app.openDoc({ cPath: "Design Request Report.pdf", oDoc: doc, bHidden: true});//Attach documentsif ...

Views

2.2K

Likes

0

Replies

1
Likes given to
Likes from