since ‎10-11-2014
‎10-12-2019
TB17
Level 2
Re: Changing object from Hidden to Visible
Avatar

TB17

TB17
- Adobe LiveCycle
Also, make sure you're saving and/or previewing the form as a "Dynamic" form not Static.

Views

190

Likes

0

Replies

0
Re: Calculate cumulative Total
Avatar

TB17

TB17
- Adobe LiveCycle
Thank you! I was able to get it to work using if (!nfPayment.isNull)

Views

291

Likes

0

Replies

0
Re: Calculate cumulative Total
Avatar

TB17

TB17
- Adobe LiveCycle
jasotastic -I really appreciate your help on this. It's exactly what I was looking for...! I was using a different script that worked for the most part, but it failed to update the Cumulative total whenever the user changed a payment amount. Your script does update the total, so I'm a very happy camper.The only thing I wonder is if it's possible to not show the Total value(s) on subsequent rows if no payment amount has been entered on active row (null) and/or if the payment field is blank on tha...

Views

262

Likes

0

Replies

0
Calculate cumulative Total
Avatar

TB17

TB17
- Adobe LiveCycle
The following is designed as a repeating subform with new row instances added via an Add button.I need each Cumulative Payment field (on each row) to auto-calculate based on either:1. the "current" and "all previous" payment amounts (i.e. cumulative payment 3 ($1,800) = sum of payments 1, 2, and 3)or2. the previous cumulative payment + current payment (i.e. cumulative payment 3 ($1,800) = cumulative payment 2 ($1,100) + payment 3 ($700)Period Payment Cumulative Payment 1. 500 500 2. 600 1,100 3....

Views

710

Likes

0

Replies

4
Re: How can I make an object print a yellow color on print out?
Avatar

TB17

TB17
- Adobe LiveCycle
If you want "just" the check box area filed with yellow (vs the entire object) use the following script on the prePrint:this.ui.oneOfChild.border.fill.color.value = "255,255,0";On the postPrint event, use the same script but change the RGB color codes ("#,#,#") to represent grey thus restoring the check box to the original state.

Views

300

Likes

0

Replies

0
Re: flowable layout mandotory fields validation
Avatar

TB17

TB17
- Adobe LiveCycle
Unless you're trying to do something special with validations, have you tried just making textfield1 "User entered - Required" under the Object>Value menu? Each new instance will make the textfield required.

Views

283

Like

1

Replies

0
Single user signing multiple Digital Signature fields - global application
Avatar

TB17

TB17
- Adobe LiveCycle
I also have a project in which the user will complete & sign multiple "carbon copy- like" versions of the same form. Each "duplicate instance" of the form will have a digital signature field signed by the same person (a total of 6 fields)The problem I'm having is each time the form is digitally signed, the user must perform a SaveAs which quickly becomes a nuisance. Instead of saving the form with a new name, the user must overwrite the current file then proceed to sign the next field, etc.Since...

Views

230

Likes

0

Replies

0
Re: still can't get a wet signature using stylus.
Avatar

TB17

TB17
- Adobe LiveCycle
Actually, I'll send you a PM with my email address to send the form.

Views

234

Like

1

Replies

0
Re: still can't get a wet signature using stylus.
Avatar

TB17

TB17
- Adobe LiveCycle
Sonia - private message me and I will help you.

Views

237

Like

1

Replies

0
Re: When I create a field to expand, how do I make the text beneath that field move down the page so that it is not overlapping text?
Avatar

TB17

TB17
- Adobe LiveCycle
Have you checked to make sure the form is saved as "dynamic" vs static?If your subforms are set to "flowed" it should work.

Views

140

Likes

0

Replies

0
Re: still can't get a wet signature using stylus.
Avatar

TB17

TB17
- Adobe LiveCycle
Have you tried using a regular text field labeled "Signature", making the field protected, then saving as a Static PDF (provided it doesn't need to be Dynamic). Then you can use the Pencil tool (under Comments) to "scribble a signature". You probably know this already, but if the form will be completed by Reader users, you'll need to make it Reader Enabled.Also, since the signature will be applied as a "Comment," you may want to "print to PDF" to flatten the form once the signature is obtained.N...

Views

236

Like

1

Replies

0
Re: Lock a particular cell on every row of a table
Avatar

TB17

TB17
- Adobe LiveCycle
I figured it out using a loop statement...Will leave this posted just in case it helps someone else in the future! var rows = xfa.resolveNodes("TableA.Row[*].Cell2"); for (var i = 0; i < rows.length; i++) { var lockField = rows.item(i); lockField.access = "protected"; }

Views

201

Likes

0

Replies

0
Re: Display image based on drop down selection.
Avatar

TB17

TB17
- Adobe LiveCycle
Lastly, you might already know this, but also make sure you are referencing the correct paths in your scripts. For example, if your images are placed in another/separate subform called Photos, then the above path is incorrect.Instead, it would be something like:if (this.rawValue == "1"){Photos.Image1.presence ="visible"Photos.Image2.presence = "hidden"Photos.Image3.presence = "hidden"}if (this.rawValue == "2"){Photos.Image1.presence = "hidden"Photos.Image2.presence = "visible"Photos.Image3.prese...

Views

1.4K

Likes

0

Replies

0
Re: Display image based on drop down selection.
Avatar

TB17

TB17
- Adobe LiveCycle
Re: the difference between the Image and Image Field objects... The "Image" object is typically used during design (i.e. the image is added to the form by the form designer - just like what you are doing by pre-placing the image son the form ). If you want the image to be available for future edits (especially when editing on a different machine) then you'd want to select the "Embed Image Date" option. Doing this will increase the overall file size, but it help ensure the graphic will be there i...

Views

1.4K

Likes

0

Replies

0
Re: Display image based on drop down selection.
Avatar

TB17

TB17
- Adobe LiveCycle
If you made sure the export values are set under the Binding tab then it should work. Are you saving the form as a "Dynamic" PDF vs static? If not, try saving as a dynamic form.

Views

1.4K

Like

1

Replies

0
Re: Using fragments as an alternative to copy/paste
Avatar

TB17

TB17
- Adobe LiveCycle
Just curious... RE: "there appears to be certain situations where you can't copy and paste pieces from one form to the other..." what situations are those? Have you also tried grouping items into subforms or groups, copying, pasting into destination form, then unwrapping the subform and/or un-grouping the group?

Views

506

Likes

0

Replies

1
Re: Using script in a dummy submit button to check for digital signature
Avatar

TB17

TB17
- Adobe LiveCycle
See this thread: Require signature field to be signed before submit

Views

254

Likes

0

Replies

0
Re: Display image based on drop down selection.
Avatar

TB17

TB17
- Adobe LiveCycle
P.S. In the solution above, the images reside in the form - you are basically controlling the "presence"...either "hidden" or "visible". This is with the presumption that only one image is visible at a time. You will have to determine where the images are placed on the form (i.e. stacked on top of one another, within a subform, etc).

Views

1.4K

Likes

0

Replies

0
Re: Display image based on drop down selection.
Avatar

TB17

TB17
- Adobe LiveCycle
NOTE: Below are two simple options. Assign an exported value to the selectable items in the drop-down (i.e. 1,2,3). You would do this on the Binding tab (Specify Item Values)OPTION 1:Use the following script on the "Exit" event of the drop-downif (this.rawValue == "1"){//a "space" character to represent a blank option in the drop-downImage1.presence = "hidden"Image2.presence = "hidden"}if (this.rawValue == "2"){Image1.presence = "visible"Image2.presence = "hidden"}if (this.rawValue == "3"){Image...

Views

1.4K

Like

1

Replies

0
Lock a particular cell on every row of a table
Avatar

TB17

TB17
- Adobe LiveCycle
I have a single Table ("TableA") with 4 rows - all named "Row". Thus...Row[0], Row[1], Row[2], and Row[3]. Each row has 3 cells. What I'm trying to do is lock the 2nd cell ("Cell2") on every row - essentially locking an entire column.I tried using the following script on a button, but it doesn't work.TableA.Row[*].Cell2.access = "protected";Any ideas?Thanks in advance!Tony

Views

408

Likes

0

Replies

1