since ‎15-10-2015
JLNdev
Level 1
Copy field contents on button click in adaptive form
Avatar

JLNdev

JLNdev
- Adobe Experience Manager Forms
Hi all, I've spent hours going in circles, trying different approaches and I'm just totally stuck. I've created an adaptive form in AEM for forms. I have a hidden text field with a text string value, and I am trying to script a button to select and copy the contents of that text field, when clicked. Then I'd like a message to pop up, confirming the text was copied. Here's the method I found on W3schools:var copyText = document.getElementById("textFieldIWantToCopy");copyText.select();document.exe...

Views

179

Likes

0

Replies

2
Re: Adaptive Form - Collapse All Accordion Panels
Avatar

JLNdev

JLNdev
- Adobe Experience Manager Forms
Hi! Where did you place this script to get the desired result? In the accordion panel's rules, or somewhere else?

Views

298

Likes

0

Replies

0
Re: Version Check
Avatar

JLNdev

JLNdev
- Adobe LiveCycle
Hi Radzmar and MinusZero, I'm dying to try it, but I haven't quite gotten to it yet. I'll definitely post about my success/failure once I do, though! I really appreciate your taking the time to talk me through it--this is extremely helpful. JLN UPDATE: This worked, thanks so much!if (parseFloat(app.viewerVersion) < 12) { xfa.host.messageBox("If you are seeing this message, your version of Adobe Acrobat Reader may be outdated.\n\nFor best user experience, please download the latest version of Ado...

Views

1.2K

Likes

0

Replies

0
Re: Button accessibility - JAWS only reads "+" on button
Avatar

JLNdev

JLNdev
- Adobe LiveCycle
No, it's amazing to me that this issue hasn't been resolved. Accessibility is so important.However, you can use this workaround:How to make submit button a custom image One step is missing in this explanation--you also need to type the full button description into the "Tool Tip" field on the Accessibility tab. That will give JAWS the right description to read (and it works, once the button's caption is deleted!).I was even able to do this in a table by wrapping a table cell in a Subform set to "...

Views

1.1K

Likes

0

Replies

0
Version Check
Avatar

JLNdev

JLNdev
- Adobe LiveCycle
Hi everyone,Our LCD form does an Adobe Acrobat Reader version check before it opens, using the following JS:if (parseFloat(app.viewerVersion) < 12) { xfa.host.messageBox("If you are seeing this message, your version of Adobe Acrobat Reader may be outdated.\n\nFor best user experience, please download the latest version of Adobe Acrobat Reader DC at https://get.adobe.com/reader.", "Adobe Acrobat is outdated", 0, 0); }However, many of our users are going to get annoyed by how often they see this p...

Views

2.2K

Likes

0

Replies

5
Re: restrict user to type into date field , only select date from popup
Avatar

JLNdev

JLNdev
- Adobe LiveCycle
Was this question ever resolved? I'd also like to force users to use the date picker, instead of manually typing the date in, if at all possible.JLN

Views

785

Likes

0

Replies

0
Re: Accessibility for button.
Avatar

JLNdev

JLNdev
- Adobe LiveCycle
This is a great idea; I'll give it a try and see how JAWS handles it. Thank you, @BR001!

Views

810

Likes

0

Replies

0
Re: Copy hierarchy string to object?
Avatar

JLNdev

JLNdev
- Adobe LiveCycle
Eureka! Thank you so much, this is MEGA helpful!

Views

1.1K

Likes

0

Replies

0
Copy hierarchy string to object?
Avatar

JLNdev

JLNdev
- Adobe LiveCycle
Hi,Does anyone know if it's possible to copy the hierarchy string to an object's location in a form? I'm not sure I'm even expressing the question correctly, but I am helping to update an XML form in LiveCycle ES4. (Example: form1.subform1.client.TextField1)Here's the situation:We are customizing the reset button to make the presence of the fields that were initially visible/hidden reset to their first stateThe form hierarchy is REALLY complex, so it's going to take ages to manually type in each...

Views

1.3K

Likes

0

Replies

2
Re: importData works before enabling but not after
Avatar

JLNdev

JLNdev
- Adobe LiveCycle
Hi Radzmar,Hey, I think I have it partially figured out! I was able to set up a custom variable function with the code from your site, and I was able to set up the import button with the associated "actions.importXML()" code. However, when I export the data and then import it, I'm getting an invalid data message. Is there a chance I could send you the form and have you look at it, so you can tell me what I'm doing wrong?Thanks for considering it! JLN

Views

4.4K

Likes

0

Replies

0
Button accessibility - JAWS only reads "+" on button
Avatar

JLNdev

JLNdev
- Adobe LiveCycle
Hi!I'm creating a screen-reader accessible form, and was dismayed to realize that--for buttons--JAWS doesn't read anything but the button caption.This is particularly devastating with the add/delete row buttons. I have set both the Tool Tip and Custom Screen Reader Text, and even defined the precedence, but JAWS still only reads caption, "+". It needs to read "Add a new row below this one", etc. As things stand, these buttons will be completely useless for my visually-impaired users. Note: if yo...

Views

2.0K

Likes

0

Replies

2
Re: Accessibility for button.
Avatar

JLNdev

JLNdev
- Adobe LiveCycle
Was this ever resolved? This response was marked as the answer, but I don't see a way around this issue. I have a button labeled "+" which has custom tool tip and screen reader text "Add a new row below this one", but the only way I can get JAWS to read it is if I delete the "+" and leave the button blank. Is there a way around this issue?

Views

806

Likes

0

Replies

0
importData works before enabling but not after
Avatar

JLNdev

JLNdev
- Adobe LiveCycle
Hello,I've done some pretty thorough searches, and I can only find this problem listed as a side note--nothing that directly addresses it.I have created a PDF form in LiveCycle Designer ES4 and it includes an import button which uses this code:xfa.host.importData("");Note: The import button works great in Acrobat DC Pro prior to enabling. However, once I enable it as a Reader Extended PDF, the enable button completely stops working.The error in the JavaScript Debugger dialogue reads like so;NotA...

Views

4.7K

Like

1

Replies

3
Likes from