since ‎17-03-2018
‎10-12-2019
pizush
Level 1
Re: Attachment open action is not working properly
Avatar

pizush

pizush
- Adobe LiveCycle
HiYour re-populating listbox input drive me to search the forum and found this thread Update Number of Attachments Field where Mouslander advised to use formatted value. Thanks to both of you.Rgds

Views

741

Likes

0

Replies

0
Re: Attachment open action is not working properly
Avatar

pizush

pizush
- Adobe LiveCycle
Hi BruceI changed NumericField1.rawValue to NumericField1.formattedValue in add button and object locale from default to English (USA) for all buttons. This time listbox values were retained in mail recipient's computer. Would you pls share why this happened as I have no idea.Rgds

Views

591

Likes

0

Replies

0
Re: Attachment open action is not working properly
Avatar

pizush

pizush
- Adobe LiveCycle
"So, you are saying if you just save it locally and then re-open it the listbox values are retained, but if you email to someone within your organisation the listbox values are not retained, but the attachments attached to the form?"---- yes, you are right.Would you please help me with some code in reloading the listbox from the attachments in the form.And for mail system, what should I check?Rgds

Views

581

Likes

0

Replies

0
Re: Attachment open action is not working properly
Avatar

pizush

pizush
- Adobe LiveCycle
Hi,List box doesn't retain file name when recipients open the file after receiving it by internal mail.

Views

592

Likes

0

Replies

0
Re: Attachment open action is not working properly
Avatar

pizush

pizush
- Adobe LiveCycle
HiI tried with paul's sample and same thing happened.I am sharing my form for your viewDeviation Report Form.pdf - Google Drive Rgds

Views

581

Likes

0

Replies

0
Re: Attachment open action is not working properly
Avatar

pizush

pizush
- Adobe LiveCycle
Hi BruceSorry, I forgot to share one issue.In our firm, we use internal outlook mail service. When a person add attachment in his/her PC, attachment name is populating in listbox. But it is not populating in recipients PC. I converted my form to static PDF and this time listbox is okay with attachment name in recipient's PC.If I use static form then searchable dropdown facility is lost.(Thanks for sharing a great feature in your blog, Adobe LiveCycle Designer Cookbooks by BR001: Updated: Drop-Do...

Views

587

Likes

0

Replies

0
Re: Attachment open action is not working properly
Avatar

pizush

pizush
- Adobe LiveCycle
Thanks for reply.There is one code in initialize event in form1::initialize - (JavaScript, client)xfa.host.messageBox("This document requires Adode Acrobat Pro 9 or higher or Adobe Acrobat Pro DC to get full feature of the form. Click OK to continue.", "Software Version Requirement", 2);if (!app.runtimeHighlight){ app.runtimeHighlight = true;}I have two drop down box (userSelection & prodfacility) and one text box (prodlocation) that has below code form1.page1.userSelection::docReady - (JavaScri...

Views

589

Likes

0

Replies

0
Attachment open action is not working properly
Avatar

pizush

pizush
- Adobe LiveCycle
HiI am trying to create a dynamic form for my firm in Livecycle designer ES4 where user will add attachment in PDF and send it to other user. I am using below code (thanks to Paul for sharing in https://forums.adobe.com/thread/665139). Code used in my form://For add button:var myDoc = event.target;var sFile = "myFile" + NumericField1.rawValue;myDoc.importDataObject({cName: sFile});var myDataObject = myDoc.getDataObject(sFile);var sFileName = myDataObject.path;ListBox1.addItem(sFileName,sFile);Nu...

Views

2.2K

Likes

0

Replies

12
Re: Font size in livecycle form
Avatar

pizush

pizush
- Adobe LiveCycle
It worked.Thanks

Views

814

Likes

0

Replies

0
Font size in livecycle form
Avatar

pizush

pizush
- Adobe LiveCycle
HiI have tried to auto reduce font size when text does not accommodate within the given text field space. I have made a static pdf in livecycle designer es4. I search through the forum and come up with below code. But this code is not reducing the font size.if (xfa.event.newText.length == 19) { this.font.size = "0pt";}How this code could be run in static form. Any help please.

Views

1.0K

Likes

0

Replies

2
Re: How can I use more than 2 dependent dropdown lists
Avatar

pizush

pizush
- Adobe LiveCycle
Hi GreigI am working on 3 dependant dropdowns. The link is not woking.Would you please share the file in fibonacci107 at gmail dot com.Thanks

Views

886

Likes

0

Replies

0
Re: Unable to run code in XFA form
Avatar

pizush

pizush
- Adobe LiveCycle
HiThanks and you a saver!I open the form and it is almost there.. Text field data is populating in drop down list. But i am getting two unusual things -firstly when i mistakenly click the drop down icon after initial addition of file dropdown list is automatically populating. What will be my approach to prevent this happening? Any idea pls.Secondly, when I click export button, i had to save the file. Is there any way so that i can avoid this file save option.

Views

656

Likes

0

Replies

0
File Attachment
Avatar

pizush

pizush
- Adobe LiveCycle
Is there any way to prevent user from deleteing attachment ( form created in live cycle designer es4). User may open the PDF in acrobat/adobe reader

Views

361

Likes

0

Replies

0
Highlight fields
Avatar

pizush

pizush
- Adobe LiveCycle
HiI am using below code (from assure dynamics) to highlight field. This code highlights only one page of the form. I am trying to apply this code for my entire form that has 5 pages. One way may be to place this code in every page. I am trying to avoid it but can't getting there.// turn highlight on/off depending on what the user clicksif (this.rawValue == 1){ // turn on the highlight colour app.runtimeHighlight = true; app.runtimeHighlightColor=["RGB",.8,.84,1]; }else{ app.runtimeHighlight = fa...

Views

578

Likes

0

Replies

1
Disable user password
Avatar

pizush

pizush
- Adobe LiveCycle
HiI created a form in livecycle designer for my company whre three department (accounting, sales and distribution) will fill data in the form. As my form has lots of text field, chk box and dropdown, I named all fields with a prefix for each department. For ex. Accounts dept. will fill data starts with prefix (acc.), Sales dept. will fill data start with prefix (sales.) and Distribution dept with prefix (dist.).I searched through adobe forum and found some solutions but those are locks all field...

Views

363

Likes

0

Replies

0
Not able to give approval in the form
Avatar

pizush

pizush
- Adobe LiveCycle
HiI made a pdf form in livecycle designer where different user need to give their approval in the form. I searched in google and found an example here (http://assuredynamics.com/index.php/portfolio/using-hash-keys-to-lock-objects/). I changed 3 username given with the form and added 3 more username (By using Form properties>variables). My problem is that when I want to give approval with user 5 & 6, I am getting below imageSometimes I am getting below image when I try to give approval with User ...

Views

401

Likes

0

Replies

0
Re: Add days when checkbox is ticked
Avatar

pizush

pizush
- Adobe LiveCycle
HiThank for reply.I removed one endif after $ = TotalDays - dayCnt and it worked!.Another point is that if I want to exclude one specific day what type of code I shall use?Suppose start date is 8th April 2018 and end date is 11th April 2018. I want to exclude 10th April from calculation.Rgds

Views

457

Likes

0

Replies

0
Re: Add days when checkbox is ticked
Avatar

pizush

pizush
- Adobe LiveCycle
HiThanks for the replyI changed the code as below after endfor, and showing the error,Error: Syntax error token near 'else' on line 47, column 4.if (sickcb1 == 1) then$ = TotalDayselse$ = TotalDays - dayCntendifendif else$ = "" endifelse $ = ""endifcan you please helpRgds

Views

454

Likes

0

Replies

0
Re: Add days when checkbox is ticked
Avatar

pizush

pizush
- Adobe LiveCycle
HiThanks for the response.After you reply, I put below code in WeekDaysvar fromDate = Start_Date1var toDate = End_Date1if ( HasValue(fromDate) & HasValue(toDate) ) then var fromDateAsNum = Date2Num(fromDate, "YYYY-MM-DD", "en_IE") var toDateAsNum = Date2Num(toDate, "YYYY-MM-DD", "en_IE") if (toDateAsNum >= fromDateAsNum) thenvar TotalDays = toDateAsNum - fromDateAsNum + 1var currentDateNum = fromDateAsNumvar dayCnt = 0for i=1 upTo TotalDays dovar dayOfWeek = Num2Date(currentDateNum,"E") if (dayO...

Views

458

Likes

0

Replies

0
Add days when checkbox is ticked
Avatar

pizush

pizush
- Adobe LiveCycle
HiI am using below formcalc script to count weekdays in "Days" field.var fromDate = Start_Date1var toDate = End_Date1if ( HasValue(fromDate) & HasValue(toDate) ) then var fromDateAsNum = Date2Num(fromDate, "YYYY-MM-DD", "en_IE") var toDateAsNum = Date2Num(toDate, "YYYY-MM-DD", "en_IE") if (toDateAsNum >= fromDateAsNum) then var TotalDays = toDateAsNum - fromDateAsNum + 1 var currentDateNum = fromDateAsNum var dayCnt = 0 for i=1 upTo TotalDays do var dayOfWeek = Num2Date(currentDateNum,"E") if (d...

Views

1.1K

Likes

0

Replies

7
Auto populate text field
Avatar

pizush

pizush
- Adobe LiveCycle
HiI am making a form in live cycle designer. I have text field named "ID" another two fields are named as "Name" and "Dept". I am trying to do, If a person enter his/her ID no. in "ID" field, automatically that person's name and department will be populated in respective field.As I have very little knowledge in livecycle, any help from the community would be great.Thanks

Views

730

Likes

0

Replies

1
Likes given to