since ‎04-08-2017
‎27-03-2020
PaulAsaran
Level 1
Re: Calling on variable or conditional format?
Avatar

PaulAsaran

PaulAsaran
- Adobe LiveCycle
Oh... OH. All this time I was trying to get the script-defined variables! I had no idea we were talking about pulling rawValues. I do that all the time and it should have been obvious.On the one hand, this does fly in the face of the original reason I was doing all of this in the first place. That original intention was to create a set of formulae based on variables instead of pulling the long codes of rawValues, hopefully making it easier to follow for whoever comes after me in three or four ye...

Views

1.4K

Likes

0

Replies

0
Re: Calling on variable or conditional format?
Avatar

PaulAsaran

PaulAsaran
- Adobe LiveCycle
Apologies, but I remain confused. While I can make a hidden text field easily enough and create variables within it, the primary problem remains: I don't know how to pull the variable values from that hidden text field (or a script object if I were to use that option) for use/changing in other fields. I had hoped it would be as simple as using "==" and "=" comparisons, but clearly that is not the case, and my help files only refer to variables in terms of script objects (and then without telling...

Views

756

Likes

0

Replies

0
Re: Calling on variable or conditional format?
Avatar

PaulAsaran

PaulAsaran
- Adobe LiveCycle
Hey, Magus, thanks for the help. After reading up on the topic of Get Set functions and Script Objects and doing some experimentation, I'm afraid I'm still no closer to a solution. This is almost certainly because I don't understand get how to call upon and change the object value using a get/set function.I suppose I don't have to use variables to do the intended work, but I would like to learn them anyway to expand upon my LiveCycle knowledge. Is there somewhere I can go to get an in-detail exa...

Views

754

Likes

0

Replies

0
Calling on variable or conditional format?
Avatar

PaulAsaran

PaulAsaran
- Adobe LiveCycle
I'm working on a form that creates a wide range of conditional statements that build from one another over time. To do this, I made a single large table with a range of user-filled options. For the problem cell, I've got a set of if-else statements with five potential outcomes, which are themselves dependent upon another variable from a prior cell. The conditional is as follows:var StW2;if(GeneralTable.Row1.CollarType.rawValue == "Option 1" && Ero == 1 && RDB46BPF.rawValue >= 96.75 && RDB46BPF.r...

Views

3.4K

Likes

0

Replies

6
Re: Calculated fields auto-locking?
Avatar

PaulAsaran

PaulAsaran
- Adobe LiveCycle
Curious, I was sure I needed those brackets after "else". And I forgot entirely about the difference between == and =. That's what I get for not working with LC/Java for months.That works, thanks!

Views

646

Likes

0

Replies

0
Calculated fields auto-locking?
Avatar

PaulAsaran

PaulAsaran
- Adobe LiveCycle
I use LiveCycle off-and-on to make forms and I've seen this issue before. I'm not sure if it's something LC is supposed to do or if I've been doing something wrong all along and didn't know it. The code below is currently applied to the change event of a drop-down box. The idea is simply to have another field change rawValues whenever an option in the drop-down is selected. This works fine upon opening the form.The problem is that the other field seems to lock up after the form filler has made t...

Views

1.0K

Likes

0

Replies

2
Re: White text on second line for Text box
Avatar

PaulAsaran

PaulAsaran
- Adobe LiveCycle
Ah, I see what you mean. Alas, the issue was me not wanting the white background.I decided to try deleting the code entirely. It worked like a charm. Which is strange, 'cause I could have sworn I tried that yesterday. At any rate, the problem is now solved. I think I'll be taking your Notepad recommendation for any future projects of this variety though. Thanks for the assist!

Views

477

Likes

0

Replies

0
White text on second line for Text box
Avatar

PaulAsaran

PaulAsaran
- Adobe LiveCycle
I have been tasked with taking an existing LiveCycle-built PDF and applying a Russian translation to it. This largely involves copying-pasting the Russian text given to me in relevant places. For one label, the original text fits on a single line. With the Russian translation however, it has to be made into two. Normally this would be no big deal, just expand the height of the label so that the text will have two lines available. Bear in mind that these labels are colored a light grey to differe...

Views

730

Likes

0

Replies

3
Re: Keeping row with input field
Avatar

PaulAsaran

PaulAsaran
- Adobe LiveCycle
I'm willing to share some images with the information redacted. In case more is needed, is there a particular file sharing site you'd recommend?Below are the two fields I'm working on. I've successfully managed to get the buttons to add or delete rows as the user requires in order to expand the form. This was done using .addInstance(1) and .removeInstance(this.parent.index).The problem comes when I reach a page break. If the user applies just enough rows of the Field Failure Description, the Fie...

Views

464

Likes

0

Replies

0
Keeping row with input field
Avatar

PaulAsaran

PaulAsaran
- Adobe LiveCycle
I'm creating a dynamic form that involves a lot of inputs from the end user which is going to include both images and text. I can make the fields expand and add/delete fields, and the assorted rows move to new pages as I need. The problem comes when an input field is forced to the next page before its respective caption row.A single caption row in this case includes a text field and two buttons (for adding and deleting input rows). I know the text field can be set to stay with the button that co...

Views

691

Likes

0

Replies

3