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
BedrockMission!

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

641

Likes

0

Replies

0
Re: pre-selection of a listbox item after clicking a button
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
The code is "Listbox.rawValue = 1;" or "Listbox.rawValue = 27;".But you have to define the "element values" before. Click on your listbox, then object, then connection. Just tick the "Define elements value" and the code should work. (I am not quite sure with names and captions as I am not using an English version of LSD.)

Views

372

Likes

0

Replies

0
Re: pre-selection of a listbox item after clicking a button
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
Thanks. Actually it is too easy...

Views

366

Likes

0

Replies

0
pre-selection of a listbox item after clicking a button
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 a lot of item to choose. Now I have to implement a button that the listbox will scroll down to a particular item of the listbox.E.g. click on button1 -> the listbox scrolls automatically to item no. 20 (and select it)click on button 2 -> the listbox scroll automatically to item no. 30 (and selcect it)Does anyone have an idea?Thanks.Regards,ra_be

Views

1.4K

Likes

0

Replies

5
selected value of a Listbox into a Textfield
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 am trying to transfer the selected value of a listbox-item into a textfield. I only figured out on the "exit" event of the listbox (Textfield.rawValue = this.rawValue).But I need this transfer already when the user is clicking on an item within the listbox. But in the "click" event it won't work out.("Allow Multiple Selections" is not necessary.)The user shall see immediately what selections has been done.Can anyone help?Thanks.Regards,ra_be

Views

846

Likes

0

Replies

1
Listbox
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 am trying to connect a Listbox on a static PDF form to a XLS file. The user should be able to select on the PDF form an item of the listbox which is has been feeded by the xternal Excel file. I need to insert one row of two columns (e.g. cell A1 and cell B1) into the on line of the listbox.Alternatively it would also work out with TXT file.The textfile is looking somhing like below and contains a lot of lines...100123 fence100124 bucketAnd:The XLS file (or the TXT file) are located in a ...

Views

848

Likes

0

Replies

2
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

676

Likes

0

Replies

0
Re: Date functions w/ Javascript
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
Dear Paul,would you be so kind and email the file also to me.ra_be@gmx.netThanks in advance.Regards,ra_be

Views

1.1K

Likes

0

Replies

1
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
Hello,I am using the below script (which I have found in this forum) in order to get a date from datefield1, add one year and give the date to datefield2.It works fine.var oDate = util.scand("yyyy-mm-dd", this.rawValue); var sFullYear = oDate.getFullYear(); var sMonth = oDate.getMonth(); var sDate = oDate.getDate(); Datefield2.formattedvalue = util.printd("dd.mm.yy", new Date((sFullYear+1), sMonth, sDate)); Datefield2.rawValue = Datefield2.formattedvalue;But now I would like to compare the new d...

Views

2.7K

Likes

0

Replies

2
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

336

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
Dear Paul,thanks for the link, but it has not worked out.I have tried below code:if (this.rawValue != null ){ var oDate = util.scand("mm/dd/yyyy", page1.dateField1.formattedValue); var sFullYear = oDate.getFullYear(); var sMonth = oDate.getMonth(); var sDate = oDate.getDate();dateField2.formattedvalue = util.printd("mm/dd/yyyy", new Date(sFullYear, sMonth, sDate));page1.dateField2.rawValue = dateField2.formattedvalue;}Even only to take one date from one datetimefield and put into the other ones....

Views

343

Likes

0

Replies

0
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
Hello,I am trying to figure out how to calculate with dates in LCD-Javascript. But I need a bit support.The user shall enter a date into a "datetimefield" and a another "datetimefield" shall show 2 months ahead (entered date plus 2 months).Thanks for help.Regards,ra_be

Views

1.4K

Likes

0

Replies

3
Re: Submit form to automatically detect default email client
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
You can place the code where you want to have the action.I assume you would like to have the user click on a submit button. Then copy the code (and modify for your requirements) in the click event of the submit button (just a normal-standard button).regradsra_be

Views

296

Likes

0

Replies

0
Re: Submit form to automatically detect default email client
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 Shipper62,try the following script (e.g. at a click event of a button), then the XML data of the form will be attached to an email:var Mailto = "me@myCompany.com";var mySubject = "This is the subject"; var myMessage = "This is the email-text .";var Mail = "mailto:" + Mailto + "?Subject=" + mySubject + "&Body=" + myMessage;event.target.submitForm({cURL: Mail, bEmpty: true, cSubmitAs: "XML" });regards,ra_be

Views

298

Likes

0

Replies

0
Day difference between two dates
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,my form contains a datetimefield in which a user can select any date.Now I need to know how many days are between the entered date and the current system date.Does anybody have an idea how the javascript can be look like?Thanks a lot.Regrads,ra_be

Views

1.7K

Likes

0

Replies

2
Submit Form as XML / Rename attached XML file
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 am using the followig script to submit a form:var Mailto = "me@myCompany.com";var mySubject = "This is the subject"; var myMessage = "Please find attached my file.";var Mail = "mailto:" + Mailto + "?Subject=" + mySubject + "&Body=" + myMessage;event.target.submitForm({cURL: Mail, bEmpty: true, cSubmitAs: "XML" });Unfortunately I cannot change the name of the attached XML file. It is automatically the PDF filename.Has anybody an idea how to change the attachement name?Many thanks.Regards,...

Views

977

Likes

0

Replies

1
DateTimeField
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
Dear all,I am working with LiveCycle Designer ES 8.2 (German version).I have a form with a datetimefield (the value can be changed by the user). The date is shown like "date{D.MM.YY}"and it must be like this. The display cannot be changed to "date{WW}" and thus "this.formattedValue" will not work out.But I need the week number ("date{WW}") of the entered date of the datetimefield for further calculation.Does anybody have an idea how to get the week number out of a datetimefield with Javascript?M...

Views

1.8K

Likes

0

Replies

1