Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

dfkurz
dfkurz
Offline

Badges

Badges
6

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
12

Discussions

Discussions
0

Questions

Questions
12

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by dfkurz
Customize the badges you want to showcase on your profile
Re: Trying to automatically populate info entered in one section of a form into another - Adobe LiveCycle 11-09-2013
Mobius,I figured out how to solve my delimma. Instead of using a nested if statement, I used the AND operator to combine the two sets of radio buttons. So I changed it to elseif (ExceptionHold.rawValue==7 and Date.rawValue==0) then $.rawValue="Collectability date Not Specified" etc.But I still don't understand why I can get it to display the values when using $.rawvalue in Formcalc, but when I try this.rawvalue in javascript, nothing displays.

Views

347

Likes

0

Replies

0
Re: Trying to automatically populate info entered in one section of a form into another - Adobe LiveCycle 11-09-2013
Hi mobius,Ok. I thought I had everything solved, but then I realized that I needed a nested conditional statement, because I have a second set of two radio buttons that apply if you pick a specific button within the first set of radio buttons. (The second set of buttons is in its own group). I can't get this to work. If I try it in formcalc, I get a syntax error. If I leave in the curly braces that you would normally have in a javascript conditional statement, I get a syntax error on the line wi...

Views

333

Likes

0

Replies

0
Re: Trying to automatically populate info entered in one section of a form into another - Adobe LiveCycle 10-09-2013
Thanks. The .formatted value did the trick

Views

335

Likes

0

Replies

0
Re: Trying to automatically populate info entered in one section of a form into another - Adobe LiveCycle 10-09-2013
mobius,I've run into one more issue. One of the fields I am trying to auto populate is a date. The source field is set up with a data pattern in the following format on all four tabs in thePattern window: date{MM/DD/YYYY}But in the autopopulated field, the data shows up as yyyy-mm-dd. I assume this is related to the raw value and I have to convert the display version using script, but am uncertain how to do this. I have looked up some simple functions that will covert the data format but am not ...

Views

334

Likes

0

Replies

0
Re: Trying to automatically populate info entered in one section of a form into another - Adobe LiveCycle 10-09-2013
THAT WORKED. Excellent, thank you. You were a tremedous help

Views

334

Likes

0

Replies

0
Re: Trying to automatically populate info entered in one section of a form into another - Adobe LiveCycle 10-09-2013
Unfortunately, it is still not working for me. Following is the code I inserted: form1.#subform[0].TextField2::calculate - (JavaScript, client) If ( ExceptionHold.rawValue == 1 )then $.rawValue="New Account"elseif ( ExceptionHold.rawValue == 2 )then$.rawValue="New Account Next Day Item Exceeds $5000"endifThere are actually nine radio buttons but I figured I would test with two of them before creating the whole thing. I assumed this would work as long as I selected one of the first two buttons wh...

Views

333

Likes

0

Replies

0
Re: Trying to automatically populate info entered in one section of a form into another - Adobe LiveCycle 10-09-2013
I was just posiing my last reply as you were posting your last reply. I think I understand the script. In your example above, are the values in quote "10.05", "11.13", etc. suppose dto be the exact thing I copy or should they be my text from the labels?Also, should I be using "pg1.rad1", or should I be substituting the name of the radio button group?

Views

335

Likes

0

Replies

0
Re: Trying to automatically populate info entered in one section of a form into another - Adobe LiveCycle 10-09-2013
A little further info. I was able to place a Text Field object and use the script to grab the VALUE of the radio button that was selected. But that is a numeric value only. What I need to do is to insert the label of the radio button into that text field (the Item column instead of the Value column). Is there are way to do this? Perhaps a different variable besides "rawValue"?Thanks

Views

334

Likes

0

Replies

0
Re: Trying to automatically populate info entered in one section of a form into another - Adobe LiveCycle 10-09-2013
mobiusconstruct,Thanks, that worked perfectly for the drop down. Now, do you know any way to grab the value of a radio button option and place it into a text box. For example, I have a group of Radio buttons. The group name is ExceptionHold. Say for example, there are three radio buttons labeled "One", "Two", and "Three" (They show up with those labels in the "Item" menu on the Field tab of the Object Pallete - on the Binding tab, those items show up with a numeric value associated with each ite...

Views

333

Likes

0

Replies

0
Re: Trying to automatically populate info entered in one section of a form into another - Adobe LiveCycle 10-09-2013
vNohria,I appreciate the script line that you sent, but i have no idea where I can insert the script. I can't figure out how you get to a script editor. Also what type of object should I use? Can I use a Text field to display the value of a drop-down? And what about a radio button?Finally, in your script, you refer to "DropDown1". Am I supposed to use that exact name or should I use the name of the dropdown field that is the source?Thanks

Views

335

Likes

0

Replies

0