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

ra_be
Community profile ra_be Level 2
Job title here
Location here
7 BADGES
Level 2

Level 2

Learn more
Joined the community 24-07-2009 4:36:36 PM
Offline
Top badges earned by ra_be
Customize the badges you want to showcase on your profile
Scrolling in a listbox with mousewheel
Avatar
Give Back 5
Level 2
ra_be
Level 2

Likes

0 likes

Total Posts

17 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 5
Give Back 3
Ignite 3
Give Back
View profile
ra_be
- Adobe LiveCycle
Hello,I have a listbox with several items. I would like to make it easier for the user: when they are within the listbox (mouseover event or similar) and then moving the mousewheel, then the list should be scrolling. At the moment the complete form is scrolling.Does anyone have an idea?Thanks.Regards,ra_be

Views

642

Likes

0

Replies

0
Re: pre-selection of a listbox item after clicking a button
Avatar
Give back 300
Level 7
djaknow
Level 7

Likes

45 likes

Total Posts

370 posts

Correct reply

33 solutions
Top badges earned
Give back 300
Give Back 200
Ignite 5
Ignite 3
Give Back 100
View profile
djaknow
- Adobe LiveCycle
Using the boundItem method is probably a better way of doing it for the examples you posted Jono, especially for the switch statement. ra_be's sounded like a simple one-off. ra_be, good catch on calling out that you have to specify the item values, I didn't think to mention that.

Views

263

Likes

0

Replies

0
Re: selected value of a Listbox into a Textfield
Avatar
Give back 300
Level 7
djaknow
Level 7

Likes

45 likes

Total Posts

370 posts

Correct reply

33 solutions
Top badges earned
Give back 300
Give Back 200
Ignite 5
Ignite 3
Give Back 100
View profile
djaknow
- Adobe LiveCycle
I can think of different ways to get it to work, but none that will take effect until you exit the list box.The change event "does not initiate in response to changes in the object values as a result of calculations or scripts, or by the merging of the form design with data."With the click event "the value of the field does not change in response to calculations and scripts until the field loses focus."These are quotes taken from the help section in Designer, you can find them by searching for I...

Views

266

Like

1

Replies

0
Re: Listbox
Avatar
Ignite 30
Level 5
Mark_Lindberg
Level 5

Likes

8 likes

Total Posts

211 posts

Correct reply

7 solutions
Top badges earned
Ignite 30
Ignite 20
Ignite 10
Ignite 5
Ignite 3
View profile
Mark_Lindberg
- Adobe LiveCycle
It is possible to connect an Excel file to a datasource.You need to define the Excel sheet in the ODBC data sources on each machine that will use the form.Connections to local Excel files or Access databases can be problematic.A WSDL, or other independant data source is usually more stable / reliable, and easily shared.

Views

242

Like

1

Replies

0
Re: Compare a date with system date
Avatar
Give Back 5
Level 2
ra_be
Level 2

Likes

0 likes

Total Posts

17 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 5
Give Back 3
Ignite 3
Give Back
View profile
ra_be
- Adobe LiveCycle
First one is working. Thanks.ra_be

Views

684

Likes

0

Replies

0
Re: Date calculation
Avatar
Give Back 5
Level 2
ra_be
Level 2

Likes

0 likes

Total Posts

17 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 5
Give Back 3
Ignite 3
Give Back
View profile
ra_be
- Adobe LiveCycle
Got it!just had to change the following line:var oDate = util.scand("yyyy-mm-dd", page1.dateField1.rawValue);Thanks.ra_be

Views

339

Likes

0

Replies

0
Re: Day difference between two dates
Avatar
Give Back
Level 1
TrevorMartin
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Give Back
View profile
TrevorMartin
- Adobe LiveCycle
Here is some working JavaScript code from one of my forms that you might be able to adapt to your problem:form1.#subform[0].TextFieldAge::calculate - (JavaScript, client)// Given a Date/Time Field ("DateTimeFieldDOB") and a Text Field ("TextFieldAge")// calculate TextFieldAge in years based on DateTimeFieldDOB and the current datevar strDateBirth = DateTimeFieldDOB.rawValue; // Returns String in format "YYYY-MM-DD"if ((strDateBirth != null) && (strDateBirth != "")){ // Change date format to "YYY...

Views

367

Likes

0

Replies

0
Re: Submit Form as XML / Rename attached XML file
Avatar
Give back 300
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Give back 300
Give Back 200
Give Back 100
Give Back 50
Give Back 25
View profile
pguerett
- Adobe LiveCycle
The attachment filename will always be the name of the PDF. The only way to change is to save the PDF under a different name before you email it.Paul

Views

254

Likes

0

Replies

0
Re: DateTimeField
Avatar
Give Back 1000
Level 10
_Bruce_Robertson
Level 10

Likes

271 likes

Total Posts

1,782 posts

Correct reply

372 solutions
Top badges earned
Give Back 1000
Give back 900
Give Back 800
Give Back 700
Give back 600
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi ra_be,You can use the same XFA picture clauses in the util.printd method. Both util.printd() and util.scand() are part of the Acrobat JavaScript and are described in the "Acrobat JavaScript Scripting Reference". A bit confusing because that use different picture clauses, e.g. "MM" in XFA is a zero padded month but in printd is the zero padded minutes.Anyway try something like;util.printd("date(de_DE){WW}", util.scand("d.mm.yy", DateTimeField1.formattedValue), true)Where "date(de_DE){WW}" is t...

Views

957

Likes

0

Replies

0
Re: Submit form to automatically detect default email client
Avatar
Give Back 1000
Level 10
Jono_Moore
Level 10

Likes

111 likes

Total Posts

1,151 posts

Correct reply

144 solutions
Top badges earned
Give Back 1000
Ignite 30
Give back 900
Give Back 800
Ignite 20
View profile
Jono_Moore
- Adobe LiveCycle
You shouldn't be trying to manipulate the xml code. Use the Script Editor - ctrl-shift-f5.Select the object that you want the script to be attached to and then enter it in the appropriate event in the Script Editor (top left dropdown menu). Also in the Script Editor make sure you have the appropriate language specified, FormCalc or JavaScript (JavaScript in this case - menu on the top right).

Views

132

Likes

0

Replies

0