since ‎27-02-2019
‎05-12-2020
lewiso69254278
Level 1
Clear Form Button - Only Non Pre-Populated Data
Avatar

lewiso69254278

lewiso69254278
- Adobe LiveCycle
I require a method for clearing ONLY non pre-populated fields which are visible on the form through hide / show.I have set the mandatory conditions for required fields only when the container [sub-form] is visible.Therefore, the code would need to loop through the form, check whether visible, check whether mandatory is set to error, and, only clear those fields that meet the conditions whereby the initialize event is null for those not pre-populated. Any help is appreciated, which goes without s...

Views

1.8K

Likes

0

Replies

0
How to host a multiple user order form similar to SharePoint and Office documents
Avatar

lewiso69254278

lewiso69254278
- Adobe LiveCycle
I have developed an order form which is to be filled out by multiple users in remote offices. The users have both Apple and Windows machines and some use the Chrome browser. All users have localized Acrobat Pro or Reader installed. In addition the client has a SharePoint server. We have tested document check-out and workarounds with Chrome PDF issues with dynamic PDFs. As most will know there is an issue with Chrome and the default condition is to view the PDF within the browser. So, we have ins...

Views

973

Likes

0

Replies

0
Assistance with JavaScipt Code for Three Tier Discount Levels
Avatar

lewiso69254278

lewiso69254278
- Adobe LiveCycle
I have a three tier discount level requirement which I have encoded as follows:var numTotalUnits = xfa.resolveNode("subTotal.numTotalUnits");var numThreshold1 = xfa.resolveNode("this.parent.parent.parent.subControls.subVolume.numThreshold1");var numThreshold2 = xfa.resolveNode("this.parent.parent.parent.subControls.subVolume.numThreshold2");var numThreshold3 = xfa.resolveNode("this.parent.parent.parent.subControls.subVolume.numThreshold3");var numRegularPrice = xfa.resolveNode("this.parent.paren...

Views

2.3K

Likes

0

Replies

1
Re: JavaScript coding of three tier discount levels
Avatar

lewiso69254278

lewiso69254278
- Adobe LiveCycle
Spoke too soon, had to make amendments to the code, need it to trigger based on the three tiers, have this so far:var numTotalUnits = xfa.resolveNode("subTotal.numTotalUnits"); var numThreshold1 = xfa.resolveNode("this.parent.parent.parent.subControls.subVolume.numThreshold1");var numThreshold2 = xfa.resolveNode("this.parent.parent.parent.subControls.subVolume.numThreshold2");var numThreshold3 = xfa.resolveNode("this.parent.parent.parent.subControls.subVolume.numThreshold3");var numRegularPrice ...

Views

2.1K

Likes

0

Replies

0
Re: JavaScript coding of three tier discount levels
Avatar

lewiso69254278

lewiso69254278
- Adobe LiveCycle
Worked like a charm.Thank you,Lewis

Views

1.9K

Likes

0

Replies

0
Re: JavaScript coding of three tier discount levels
Avatar

lewiso69254278

lewiso69254278
- Adobe LiveCycle
I have modified slightly the code with a name change to a field in order to better display the requirement:if (xfa.resolveNode("subTotal.numTotalUnits").rawValue < xfa.resolveNode("this.parent.parent.parent.subControls.subVolume.numThreshold1").rawValue){this.rawValue = xfa.resolveNode("this.parent.parent.parent.subControls.subBelow.numRegularPrice").rawValue;}else if (xfa.resolveNode("subTotal.numTotalUnits").rawValue >= xfa.resolveNode("this.parent.parent.parent.subControls.subVolume.numThresh...

Views

1.9K

Likes

0

Replies

0
JavaScript coding of three tier discount levels
Avatar

lewiso69254278

lewiso69254278
- Adobe LiveCycle
Hello,I have scripted for a three tiered discount order form, which, works with the following code:if (xfa.resolveNode("subTotal.numTotalUnits").rawValue < xfa.resolveNode("this.parent.parent.parent.subControls.subVolume.numThreshold1").rawValue){this.rawValue = xfa.resolveNode("this.parent.parent.parent.subControls.subBelow.numUnitBelow").rawValue;}else if (xfa.resolveNode("subTotal.numTotalUnits").rawValue >= xfa.resolveNode("this.parent.parent.parent.subControls.subVolume.numThreshold1").rawV...

Views

5.0K

Likes

0

Replies

4
Re: Require Today's Day of Month with suffix written in JavaScript
Avatar

lewiso69254278

lewiso69254278
- Adobe LiveCycle
Very nice!  Thank you!All the best...Lewis

Views

1.7K

Likes

0

Replies

0
Re: Require Today's Day of Month with suffix written in JavaScript
Avatar

lewiso69254278

lewiso69254278
- Adobe LiveCycle
I am trying this, but, cannot reset local time, laptop is locked:var today = new Date();var dd = today.getDate();if (dd == 1 || dd == 21 || dd == 31) {this.rawValue = dd + "st";}else if (dd == 2 || dd == 22) {this.rawValue = dd + "nd";}else if (dd == 3 || dd == 23) {this.rawValue = dd + "rd";}else if (dd == 4 || dd == 5 || dd == 6 || dd == 7 || dd == 8 || dd == 9 || dd == 10 || dd == 11 || dd == 12 || dd == 13 || dd == 14 || dd == 15 || dd == 16 || dd == 17 || dd == 18 || dd == 19 || dd == 20 ||...

Views

1.7K

Likes

0

Replies

0
Re: Require Today's Day of Month with suffix written in JavaScript
Avatar

lewiso69254278

lewiso69254278
- Adobe LiveCycle
Very cool radzmar,However, I was not clear on what was attempted, I am trying to get this to work:var today = new Date();var dd = today.getDate();if (dd == 1) {this.rawValue = dd + "st";}else if (dd == 2) {this.rawValue = dd + "nd";}else if (dd == 3) {this.rawValue = dd + "rd";}else if (dd >= 4) {this.rawValue = dd + "th";}Trying to get the suffix to work in all scenarios. Tried this:var today = new Date();var dd = today.getDate();if (dd == 1,21,31) {this.rawValue = dd + "st";}else if (dd == 2,2...

Views

1.7K

Likes

0

Replies

0
Re: Need to extract the first letter of the last name from lastname field.
Avatar

lewiso69254278

lewiso69254278
- Adobe LiveCycle
Used a quick method; set limitation of destination field to one character and scripting rawValue to be the same.I will close this.Thank you,Lewis

Views

1.6K

Likes

0

Replies

0
Need to extract the first letter of the last name from lastname field.
Avatar

lewiso69254278

lewiso69254278
- Adobe LiveCycle
Hello All,Looking for direction on extracting the first letter from a field containing the last name.Please and thank you,Lewis

Views

1.6K

Likes

0

Replies

1
Require Today's Day of Month with suffix written in JavaScript
Avatar

lewiso69254278

lewiso69254278
- Adobe LiveCycle
Hello All,I have searched through the forums and have only found a post using FormCalc which adds the "st" "nd" "rd" "th" suffixes for the day of the month. I require a script which does this written in JavaScript as pulling in current numeric day of the month and adding the suffixes to the string.I have a paragraph of text which displays as follows:Dated this _______ day of ____________, _______I have the code working for month and year was quite straightforward, however, I am having much diffi...

Views

4.1K

Likes

0

Replies

5
Re: Adding Suffix to date fields
Avatar

lewiso69254278

lewiso69254278
- Adobe LiveCycle
This is great very sought after. In my case; how would this apply if the field in question was the current day? In other words; a field within a paragraph which contains a field and therein displays only the current day along with the suffix? Similar to what one would display prior to a signature field. Signed this _______ day of [and i have the rest of the dates done already].

Views

1.6K

Likes

0

Replies

0
Dynamic PDF Bar Code with Page # and count not showing when form adds or removes pages. How can I have the bar code update dynamically as page count changes? It is currently concatenating on docReady.
Avatar

lewiso69254278

lewiso69254278
- Adobe LiveCycle
The bar code works when the form is initially opened. We have tried form:ready and layout:ready, neither works when the pages increase or decrease. Please provide assistance. Thank you in advance.

Views

1.6K

Likes

0

Replies

1
Re: Accessibility reader - Drop-Down List Value rather than Text
Avatar

lewiso69254278

lewiso69254278
- Adobe Experience Manager
Thank you, I have previously tried AB for one of the options, however, it did not work so I asked the question here. Now... that being said, I did not follow your second suggestion for the custom class... could you please elaborate with code sample or details on how to implement?

Views

1.5K

Likes

0

Replies

0
Accessibility reader - Drop-Down List Value rather than Text
Avatar

lewiso69254278

lewiso69254278
- Adobe LiveCycle
Hello,I am attempting to have NVDA and JAWS read back the "Value" of a drop-down selection rather than the abbreviated "Text". Does there exist a solution to force reading of the "Value" as the field width is constrained and we are using abbreviated "Text" as options?

Views

783

Likes

0

Replies

0
Field caption based on variable from drop-down list
Avatar

lewiso69254278

lewiso69254278
- Adobe LiveCycle
Hello,I am attempting to code a concatenation string with the rawValue result from a drop-down field and insert the string into the caption of another field. Is there a way to have the caption of a signature field populate dynamically based on the value from a drop-down list along with static text, so, a concatenated string which has static text, a dynamic piece pulled from a drop-down list, and, additional static text? Can a field have a dynamic caption?

Views

1.4K

Likes

2

Replies

1
Field caption based on variable from drop-down list
Avatar

lewiso69254278

lewiso69254278
- Adobe Experience Manager
Hello,I am attempting to code a concatenation string with the rawValue result from a drop-down field and insert the string into the caption of another field. Is there a way to have the caption of a signature field populate dynamically based on the value from a drop-down list along with static text, so, a concatenated string which has static text, a dynamic piece pulled from a drop-down list, and, additional static text? Can a field have a dynamic caption?

Views

1.2K

Likes

0

Replies

1
Accessibility reader - Drop-Down List Value rather than Text
Avatar

lewiso69254278

lewiso69254278
- Adobe Experience Manager
Hello,I am attempting to have NVDA and JAWS read back the "Value" of a drop-down selection rather than the abbreviated "Text". Does there exist a solution to force reading of the "Value" as the field width is constrained and we are using abbreviated "Text" as options?

Views

2.1K

Likes

0

Replies

3
AEM Workbench error: "File already exists in global store with that name"
Avatar

lewiso69254278

lewiso69254278
- Adobe Experience Manager
Hello,We are received a "Failed Operation" notification:"File already exists in global store with that name"Can someone provide a resolution to this issue. We have tried to delete locally, remove remotely, renaming, etc.We have read there may be a solution within SQL, however, that is not detailed only referenced.This does not affect all users; only a select few and we suspect it may be due to process rather than system issues.Does anyone have a suggestion to resolve this issue and may be able t...

Views

1.2K

Likes

0

Replies

1
AEM Workbench error: "File already exists in global store with that name"
Avatar

lewiso69254278

lewiso69254278
- Adobe Experience Manager
Hello,We are received a "Failed Operation" notification:"File already exists in global store with that name"Can someone provide a resolution to this issue. We have tried to delete locally, remove remotely, renaming, etc.We have read there may be a solution within SQL, however, that is not detailed only referenced.This does not affect all users; only a select few and we suspect it may be due to process rather than system issues.Does anyone have a suggestion to resolve this issue and may be able t...

Views

1.3K

Likes

0

Replies

1
Likes given to
Likes from