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

Alpha9548
Alpha9548
Offline

Badges

Badges
5

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
6

Discussions

Discussions
0

Questions

Questions
6

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by Alpha9548
Customize the badges you want to showcase on your profile
Re: Decimal place issue when using for loop to populate dropdown box - Adobe LiveCycle 18-03-2011
Thanks for the advice.I tried to insert a script object but FormCalc is disabled. Can I not create a function using FormCalc?

Views

132

Likes

0

Replies

0
Decimal place issue when using for loop to populate dropdown box - Adobe LiveCycle 17-03-2011
This for loop on a dropdown change event:for (var i = 0; i <= 1; i+=0.1) {dropdown.addItem(i+'');returns the following output:00.10.20.300000000000040.40.50.60.799999999999990.899999999999990.99999999999999Does anybody know why and can anybody suggest a solution?

Views

792

Likes

0

Replies

5
Setting drop down value twice on the same event - Adobe LiveCycle 15-03-2011
I have the following code on the change event of a drop down set to 'Allow custom text entry':if(xfa.event.newText == "Other:") { xfa.host.setFocus(this); this.rawValue = "";}If the user selects "Other:", the value clears and the focus is set to the field so the user can enter custom text. However, this.rawValue = ""; isn't working. Is this because the code is trying to set a value twice on the same event? If so, do I need to use a different event and if so, which?Thanks in advance.

Views

281

Likes

0

Replies

1
Re: dropdown.addItem syntax issue - Adobe LiveCycle 14-03-2011
That's it! Thanks very much Nith.It works but I don't understand why. Can you explain?

Views

117

Likes

0

Replies

0
Re: dropdown.addItem syntax issue - Adobe LiveCycle 14-03-2011
A bit more information:The code is returning the error:"Argument mismatch in property or function argument"I don't believe there is an argument mismatch though. If I add square brackets as if passing an array: dropdown.addItem([i]), the script runs successfully but with an 'empty' value for each item.

Views

116

Likes

0

Replies

0
dropdown.addItem syntax issue - Adobe LiveCycle 14-03-2011
Can anybody suggest why the following function isn't working? addItem doesn't seem to accept "i" as an argument.function dropdownRange(dropdown,start,end,increment) {for (var i = start; i < end; i+=increment) { dropdown.addItem(i);}}I'm am calling the function from a radio group change event that toggles the drop-down range:functions.dropdownRange(mydropdown,200,1500,100);Thanks in advance

Views

1.1K

Likes

0

Replies

4