Want to know the function to set time delay using java script in Adobe Livecycle designer.
How to set time delay in javascript?
Date/Time driving me nuts. How to set Time automatically?
Ok ok. Hope someone can help me out here!
I tried this in Acrobat Pro first, but I dont know Javascript and so couldn't modify the "Call Date" script to get the Time instead.
Fortunately, I also have Livecycle and everything looked so simple BUT it's not working.
Let me explain what I'm trying to do. My boss asked me to develop a log entry form in where after the user types in an entry and leaves the field then the time of the entry is automatically logged. This field should be unalterable.
I set up a Text Field (to act as the log entry form field). I then set up a Date/Time field. I went to Binding and changed it to Time. I changed the Value to Read Only, and then the Pattern to h:MM A.
Set up the action- when user exits the text field, the Date/Time field value is inserted automatically.
This works beautifully EXCEPT I only get the DATE! I've tried Protected, Read Only (calculated) etc. This requires a script to be called.... the very thing I hoped to avoid since I can't code. RunTime worked somewhat-- but in the PDF itself, when the user exits the text field, the date AND time shows up, but if that field is clicked, the time is updated. I don't want it updated. My boss wants to see the time that the log entry was completed so it can't be changed by the user or updated.
I hope I'm clear as to what I need. Anybody can help? Hope so!
Thanks--
-carrie
Form with check boxes to hide unhide subforms
I have a form that I am creating in LiveCycle Designer that has multiple check boxes and other fields on page 1. Page 2 has some standard conditions. I also have hidden sub forms on page 3 and on, that I want to make visible based on what check boxes are checked. Is this possible?
Change fillcolor if there's a value (javascript/pdf/acrobat)
Hello everyone, i'm looking for a javascript that could change a fillcolor when the textfield is filled with text, but on a document javascript, not on validation script.
Anyone know how to do this ? It would be huge help for me !
Thanks !
How to Add and Remove fields or table
Auto tab to next field without losing the entered character.
Dear All,
For auto tabbing, I used this code in the full event of the text field:
$host.setFocus('Next_Text_Field_Name');
The good thing is that it works but the (bad) thing is that the last key stroke is not transferred to the next field. e.g.: if I entered '12345678' in a 4-char long field, this field will contain '1234' and the next field '678', so the '5' which triggered the setfocus event is getting lost in the way to the next field.
Can anyone have another solution or a trick to solve this.
Thanks
I am using: Adobe LiveCycle Designer ES 8.2.1
xfa.resolveNode question
I have a function that takes 2 arguments, the first is a XFAObject and it doesn't really matter what the second one is. I use the first parameter to set a variable inside a call to xfa.resolveNode(): xfa.resolveNode(x). My variable is a concatination of the parameter and the instanceIndex all in between single quotes of that parameter: x = String.concat("'", param1, "[", param1.instanceIndex, "]'");
When put together it looks like this:
function MyFunction(param1, param2) {
var j = param1.instanceIndex;
var x = String.concat("'", param1, "[", j, "]'");
xfa.resolveNode(x).presence = "visible";
}
Could someone tell me why this isn't working? I checked the values of all my variables and they were all correct, but when it doens't seem to work in the xfa.resolveNode();
Numeric field, percentage
Hello,
I would like a numeric field to appear as a percentage as it is typed. For example, if I type 15 I want the field to populate 15% (not 1500%).
How do I need to set the display/edit/validation/data patterns?
Thank you,
Caroline
Radio Buttons and text box
Hi,
LiveCycle 8.2.1.4029.1.523496
I have a mandatory radio button group that I would like to bind a text field (called other) to.
If the radio buttons do not have an appropriate choice the user can enter the details into the "other" field.
However they can only make one choice. That is click a radio button or enter details into the "other" field.
I do not want to (I will take advise on this) have an "other" radio button that displays a text box when selected. We have remote sites who have limited internet access and they need a hardcopy form to email/snail mail.
any ideas??
Thanks
WowRonin
Auto text resize in fixed field
Hi all,
I have roamed these forums for some time now but I can't find the answer to my question, hopefully someone can help me !
In LiveCycle Designer, I'm preparing a static form. I opened a PDF which functions as a background image and now I want to add text fields. So far so good .
Now, when I save the file, it allows people to edit. Great ! However... In some cases the text typed in the form is bigger than the field assigned for it. I know there is a setting that allows the text to resize depending on what the user has typed. ( so, it always stays inside the boundry box of the text field ). I'm working in LiveCycle Designer, obviously on PC. I already checked the object field options ( figuring that the "limit lengt to visible area setting would do the trick ) but I can't find the solution here.
If someone has any pointers for me where or how I can do this, I would be very thankful !
Need help in formating a form dealing with negative currency
Need Help!!!
Creating forms in Adobe acrobat Pro I could format a number cell to calculate additions/subtractions of currency. If the result was negative I could get the cell to show the negative result in red text and show parentheses around them. How can I do that in LiveCycle?
If i have to use formcalc - what would i type in?
Deleting specific rows in a table
Hi
I have a dynamic table with add and delete buttons for rows. The add button works fine as it just duplicates the table row directly below but I am struggling with the delete button. Using TableReview.Row1.instanceManager.removeInstance(this.parent.index); deletes the first instance in the table and TableReview.Row1.instanceManager.removeInstance(1); deletes the second instance in the table.
I need something that will allow me to delete secific rows (i.e. the one with the delete button on).
Any help would be grately appreciated.
Sorting Dynamic Table
Hi -
I am using LiveCycle Designer ES 8.2 to design a fairly simple form. I have a table set up with repeating rows. All data is user entered. I would like the user to be able to sort the table (list) based on last name. I have reviewed other posts, but must be missing something. I tried a button with this, but it 's not working:
SubformSort.sort(
this, _Row1, "NameLast",
asc);
I am very new to LiveCycle and greatly appreciate any advice you can provide.
Thanks!
Error: " If this message is not eventually replaced by the proper contents..."
Some users are reporting seeing this error message when they try to open specific PDF forms I've created in alternative PDF viewers.
The forms do work on PCs using Firefox and Internet Explorer.
They do not work on Mac using Safari, Chrome or Fireforx.
Please wait...
If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document.
You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by visiting http://www.adobe.com/products/acrobat/readstep2.html.
For more assistance with Adobe Reader visit http://www.adobe.com/support/products/ acrreader.html.
What might help rectify this problem? If I were to change the compatibility settings to accepting Legacy (Acrobat 6) as the rendering engine (Form Properties > Compatibility) and Acrobat and Adobe Reader 8.0 as the Target Version (Form Properties > Defaults) would that work?
Please advise as to how best to fix this and make our forms accessible to all.
How to exclude specific fields while resetting a form
Hi,
I am new to LiveCycle. I have created a PDF with 2 pages and it contains 70+ fields (Textfields, drop down, radio buttons, check boxes etc) . I created a reset form button with a click event and when I click it, it resets the entire form. I want to exclude 5 fields from belng cleared. How can I do that?
I have browsed all the forum topics on this and tried this script. ( Posting only few fields but the original script contains all fields)
xfa.host.resetData ("xfa.form.form1.DateField1,xfa.form.form1.TextField2[0],xfa.form.form1.TextField3[0],xfa .form.form1.TextField5[0]");
There are 70+ fields and I have entered all these fields excluding 5 fields which I do not wanted to be cleared. But it clears the whole form.
I tried xfa.$host.resetData() too.
Any help??
Footer at the bottom of the last page only
I am doing a dynamic form which has drop down rows (click the + button, then a new row will be created, so the user can have as many rows they prefer, then there is a footer with E-signature in it (hopefully the footer can be shown at the last bottom page only) ).
My issue now: So when I have 2 pages of forms in total, the bottom of the first and second page will both have the footer (Signature). However, if there are 3 pages of form in total: the bottom of the first and third page will both have the footer (Signature), but not the second page.
What I want: How can I ONLY have the footer (signature) at the bottom of the last page, not on the first page, no matter how many rows and pages the user created ?
I can screen shot the form if needed. Please help.
Many thanks
Calling SAP WebServices always requires login
Hi
I hope you can help us here:
I have build several web services in SAP ECC, I have tested these web services from a test tool soapUI
I have build the forms in SAP using xfa javascript to make web service calls. I have created a data connection and I execute the action
from the connectionset. When testing the form, the call from Adobe to the SAP Web Services is executed,
but before receiving feedback from the sap wabservice, Adobe always comes up
with a pop up titled "Windows Security" requiring SAP login username and password. Even when cancel/close (without capturing any details)
the login pop-up, I still get the correct response from the SAP web service. So the web services call is successfull, but the pop-up keeps
coming up. How does one permanently suppress the login pop-up from adobe for webservices/data connection that require no authentication.
Ps. See the pop-up image below
Regards
-Tiego
Reset fields in a subform ?
I want to reset all fields within a subform to their default values.
I am calling the resetData method with the name of a subform as a parameter to achieve this.
Example: xfa.host.resetData("xfa.form.form1.subform1");
Is this usage correct, as the Scripting reference for resetData method says it takes field names as parameter.
A valid string listing either the names or the equivalent reference syntax expressions of the fields to reset. The list entries are delimited by the “,” (comma) character. If the string is not present or empty, all the fields in the form are reset to their default value.
Link to Scripting Reference : Adobe LiveCycle ES4 * resetData
I am using Adobe Workbench version 6 and LiveCycle ES 4.
Bad Value/Hyphenation Default: Adobe Acrobat Reader DC
Hello,
I am trying to fill out a form in Adobe Acrobat Reader DC. Every single time I move onto another box, the following below message pops-up; the document is too long for me to do this at every input.
Bad value: 'designer__defaultHyphenation.para.hyphenation' of the 'use' attribute of 'hyphenation' element ''. Default will be used instead.
Bad value: 'designer__defaultHyphenation.para.hyphenation' of the 'use' attribute of 'hyphenation' element ''. Default will be used instead.
Bad value: 'designer__defaultHyphenation.para.hyphenation' of the 'use' attribute of 'hyphenation' element ''. Default will be used instead.
Bad value: 'designer__defaultHyphenation.para.hyphenation' of the 'use' attribute of 'hyphenation' element ''. Default will be used instead.
Bad value: 'designer__defaultHyphenation.para.hyphenation' of the 'use' attribute of 'hyphenation' element ''. Default will be used instead.
Bad value: 'designer__defaultHyphenation.para.hyphenation' of the 'use' attribute of 'hyphenation' element ''. Default will be used instead.
I would appreciate any advice/solutions for fixing this problem.
Thanks,
Tom
HTTP Submit Button vs event.target.submitForm
Dear All,
I have a problem that looks like I would need some expert help to resove.
I have designed a small Form with Acrobat LiveCycle Designer ES 8.2
The plan is people to fill out the form and submit it to a script on a web page.
Here is the problem.
When I insert a regular HTTPSubmit button. Everithing is working just fine. All th fields are submited, and I can process them from there with my script.
However, when I try to make a regular button and add javascript to the click event.
event.target.submitForm({cURL: "http://mysite/myscript.php", cSubmitAs:"HTML", cCharSet:"utf-8"});
The form is submited but non of the fields are.
As an example output from REQUEST array in PHP.
With the regular HTTP Submit button I get:
Array
(
[familyname] => 1
[SubjectNumber] => 2
[Site] => 3
)
While with the above javascript I get:
Array
(
[form1] => Array
(
[0] =>
)
)
Looks like with the Javascript I somehow cannot submit the actuall fields.
Finally, let me tell you the reason why I even want to use Javascript instead of the regular HTTP Submit button.
My plan is so people can actually change the location where to submit the form.
From what I read if I use a regluar submit button, the URL must be hardcoded and cannot be changed (selected, by the user dinamically)
While if I use javascript then I can easily have a text field where people can enter the site where they want to submit the form and use it.
Thank you very much for your help
Please let me know if you need any further information
Regards
Tsvyatko