since ‎14-12-2016
‎10-12-2019
jahantech
Level 2
Attachment is not opening in client's end
Avatar

jahantech

jahantech
- Adobe LiveCycle
HiI have made a static XFA form using livecycle designer ES4. In this form open button is not working in client's end. No file is opening after selecting from listbox although it is present in navigation panel. I can open the attachment by clicking open button in Acrobat pro dc but same thing is not happening in client's end (tried with both Acrobat pro XI & Pro DC).I am using below code://In add button:form1.page2.AddAttachment::click - (JavaScript, client)var oObj = event.target;var fileAttach...

Views

1.0K

Likes

0

Replies

2
Re: Checkbox ticked issue
Avatar

jahantech

jahantech
- Adobe LiveCycle
you are awesome !

Views

880

Like

1

Replies

0
Re: Checkbox ticked issue
Avatar

jahantech

jahantech
- Adobe LiveCycle
Hi MinusZeroThanks for the help.Alternative selection of checkbox is working. But last checkbox remain ticked if I remove text from text box. I tried with below code but result is same. case "": CheckBox1.rawValue = "0"; CheckBox2.rawValue = "0"; CheckBox3.rawValue = "0";Thanks

Views

825

Likes

0

Replies

0
Checkbox ticked issue
Avatar

jahantech

jahantech
- Adobe LiveCycle
Hi,I have 1 text field and 3 check box in my form. Depending on text typed in text field different checkbox will be ticked. I am using below code on exit event of text field. When I use this code all 3 checkbox could be ticked at a time. I am trying that only one check box will be ticked at time (something like radio button, only one can be ticked at time). I am trying to avoid radio button because once it is ticked, anyone of the group will remain as ticked.switch(TextField1.rawValue){ case "Ad...

Views

2.0K

Like

1

Replies

5
Re: Reset a specific field
Avatar

jahantech

jahantech
- Adobe LiveCycle
Thanks to All of you who replied. But MinusZero's reply was very simple.

Views

1.9K

Like

1

Replies

0
Reset a specific field
Avatar

jahantech

jahantech
- Adobe LiveCycle
HiI want to reset only "passwordString" text field. But below code reset total form instead of resetting only "passwordString" field.form1.page2.passwordHash::calculate - (JavaScript, client)soHASHING_SHA256.hex_sha256(passwordString.rawValue)form1.page2.passwordHash::mouseEnter - (JavaScript, client)if(form1.page2.passwordHash.rawValue == null) {form1.page2.passwordString.presence = "visible";} else {form1.page2.passwordString.presence = "hidden";}form1.page2.passwordHash::mouseExit - (JavaScri...

Views

3.2K

Like

1

Replies

4
Re: Changing Global Variables using Javascript
Avatar

jahantech

jahantech
- Adobe LiveCycle
Hi NiallSorry for digging an old thread.could you please share the 2009 evolved file in dropbox or somewhere else other than acrobat. I am also trying to do similar time of form for my organisation.thanks

Views

1.3K

Likes

0

Replies

0
Re: Password protect subforms
Avatar

jahantech

jahantech
- Adobe LiveCycle
Thanks to Niall for giving this solution.I have to prepare a 5 page pdf form where different user need to give their approval in the form. I found an example here (http://assuredynamics.com/index.php/portfolio/using-hash-keys-to-lock-objects/). I changed 3 user name and added 3 more username (By using Form properties>variables). But when I want to sign with user 5 & 6, I am getting below imageSome I am getting below image when I try to sign with User 1 to 4. I want to store 30 username option th...

Views

644

Likes

0

Replies

0
Re: Popup window code is not working in acrobat pro XI
Avatar

jahantech

jahantech
- Adobe LiveCycle
Thanks for the reply.In my form it has only 3 user. When I add user name in form it is showing below message"Invalid signature, contact administrator."I am adding username herevar listuser ={"Andrew Rice": -2,"Aaron Kelly": -3,"Niall O'Donovan": -1,"Dawn Miller": -4,"Dana Brown": -5,"Mitchell Clark": -6,};I have to add 30 username.I don't know why I am getting this message

Views

1.1K

Likes

0

Replies

0
Popup window code is not working in acrobat pro XI
Avatar

jahantech

jahantech
- Adobe LiveCycle
HiI prepared a form where user will fill information and a text box will populate when a specific user has updated the form. The form has many parts and different user will update own parts. I searched google and found below code (which is for xfa form). I have very little knowledge in JavaScript coding. If anyone help me to use this code in my acroform, I would be highly greatful.Thanksvar AHSC01 ={result:"cancel",DoDialog: function(){return app.execDialog(this);},strcode:"",struser:"",strpass:...

Views

2.6K

Likes

0

Replies

3
Re: Total Days between two Dates Excluding Weekends in LCD
Avatar

jahantech

jahantech
- Adobe LiveCycle
For acroform u can use belowCalculation problem: Need script modificationFrom that thread u will find holiday array. You can change the holiday array in formcalc and use it in your code

Views

1.5K

Likes

0

Replies

0
Re: Total Days between two Dates Excluding Weekends in LCD
Avatar

jahantech

jahantech
- Adobe LiveCycle
You have to define holidays first then u have to compare those with total days. If it falls within then u have to deduct one from calculation.Since lunar holiday is change prone for that u can use a different field for it and for solar holidays u can keep in background.Just an idea I am giving to u.

Views

1.5K

Likes

0

Replies

0
Re: Total Days between two Dates Excluding Weekends in LCD
Avatar

jahantech

jahantech
- Adobe LiveCycle
I am just like an user like u. I don't have any experience in LCD form. By preparing my acroform I just got this code from adobe forum, so I shared it with some adjustment. If u give some time with the code, I hope u could solve.Working with date calculation is not easy for users or who have not coding knowledge. The more you search the more u learn and it will help u in futures.

Views

1.5K

Like

1

Replies

0
Re: Total Days between two Dates Excluding Weekends in LCD
Avatar

jahantech

jahantech
- Adobe LiveCycle
You can use below codevar fromDate = Date1var toDate = Date2if ( 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(dayOfWeek == 6 | dayOfWeek == 7) then dayCnt = dayCnt + 1 endif current...

Views

1.5K

Likes

0

Replies

0
Likes from