since ‎13-04-2009
‎10-12-2019
DrDave6
Level 1
Re: Open URL Link in new browser window
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
Juno,GREAT strategy. Worked for me too! Thank you.

Views

1.0K

Likes

0

Replies

0
Re: Move Page to Page 1
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
That's great, thank you. Actually, I clicked on the page in question, then went to the Pagination tab in the Object, and set place to "On Page, Page0."Now I can go wash my remaining hair! Thank you for the quick response.

Views

105

Likes

0

Replies

0
Move Page to Page 1
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
I'm using LCD 8.2.1I have a mult-page form that works. When I add a page, the page is added to the bottom of the form and I can then MOVE the page my clicking on the page header in the Hierarchy section and then dragging the page to where I want. Seem to work.However, if I move the page to page 1 (after the Master Page), I always end up with an extra blank page at the beginning of the document AND I cannot get rid of that extra page. If I MOVE the page to somewhere other than page 1, the blank p...

Views

1.6K

Likes

0

Replies

2
Re: Insert Image Not Working
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
Just solved it!the JPG was in CMYK format. As soon as I switch it to RGB, it worked fine.

Views

85

Likes

0

Replies

0
Re: Insert Image Not Working
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
Thank you for the suggestions.Yes, I'm viewing the image on the same PC, but note that the image is not even showing while I'm creating the form in LCD. And yes, I have Embed Image Data checked.No matter what sizing I use, I still see nothing.

Views

82

Likes

0

Replies

0
Insert Image Not Working
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
I have a form where I am adding an image (not an image field). When I double-click the image and point to the logo (jpg) that I'm trying to insert, it seems to work, but no image is displayed.I have tried this on Vista and Windows7, but the result is the same. I'm using LiveCycle Designer ES, V 8.2.1.4029.All suggestions are appreciated.

Views

823

Likes

0

Replies

3
Re: Building a String
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
Still not working.How can I post the form? Note that because the form is not offically released, it is still confidential. Can I email it to you?BTW...really appreciate the help that you are offering here.

Views

65

Likes

0

Replies

0
Re: Building a String
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
var cTheEmail = ecPrimaryEmailAddress.rawValue;var cToPass = 'http://www.MyWebsite/MyUpload?email=' + cTheEmail ;app.alert(cToPass);If I execute the above, when I click the button, nothing comes up.If I replace the cTheEmail Variable with the following: var cTheEmail = xfa.resolveNode("ecPrimaryEmailAddress");then the following alert pops up,http://www.MyWebsite/MyUpload?email=nullNote that I DO have a value in the primary email address.

Views

74

Likes

0

Replies

0
Building a String
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
I'm using LCD (most recent version) and I'm having trouble building a string -- obvious newbie! 🙂I have a field called PrimaryEmailAddress where the user specifies their email address.I have created a button, when clicked, will open a URL and pass the email address as a parameter.Using Javascript, I though I could do the following:var cTheEmail = PrimaryEmailAddress.rawValuevar cTheURL = 'http://www.MyWebsite.com/MyUpload?email='+cTheEmail ;app.launchURL(cTheURL);Suffice it to say, but this doe...

Views

781

Likes

0

Replies

6
Re: Reader versus Browser
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
I love that answer -- short, and to the point.I half expected that I might get a few "you need to watch it" or "consider that." Is there any "advise" within this context?

Views

72

Likes

0

Replies

0
Reader versus Browser
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
I have designed a LC form (with lots of JavaScript code).I just realized that the form can be viewed and completed within a browser or the Acrobat Reader.Since I have done all my testing with the Reader, my question is, "Can I expect the form to function the same, within a browser?"I'm assuming the principle browsers like Explorer, Safari, and Firefox -- at their latest versions.Thank you for all feedback.

Views

501

Likes

0

Replies

3
Re: How to enable javascript
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
Hi Adobe_Learning (I'm learning too!) 🙂I too have developed a LC form using JS. I just tested with Acrobat Read 9 by turning off JS, as described in this post. When I went to open my form, the reader gave a warning and asked if I wanted to turn JavaScript on.This tells me that YOU don't have to do anything within the form. However, if you have a document or set of instructions that go with your form, you probably want to address that issue there -- tell users that they need JS turned onGood Luc...

Views

3.5K

Likes

0

Replies

0
Re: Wait a specified period of time
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
Getting close.... -)I was thinking that I could grab the current time and store it in a variable (StartTime), then place the EndTime in a variable (StartTime + 10 Seconds).I could then setup a do while loop (while time was < EndTime).Because I'm new to this, I don't know how to go about it. Help is appreciated.

Views

358

Likes

0

Replies

0
Re: Wait a specified period of time
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
Thank you Paul, this is helpful.With this command, my JS continues, and then the message appears, a specified time later.I'm was looking for something that will allow the JS to pause for a specified period of time, for example, 10 seconds, and then continue.Your help is appreciated.

Views

365

Likes

0

Replies

0
Wait a specified period of time
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
I have a button on a form and when the user clicks it, I want to wait a specified number of seconds and then continue with a javascript.What the best way to do this?All suggestions appreciated.

Views

1.4K

Likes

0

Replies

4
Re: Detect Form Changes
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
Just learning.....What does the syntax look like for this?if event.target.dirty = .t.{ do something{

Views

91

Likes

0

Replies

0
Detect Form Changes
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
I have a submit button in a form and when the user clicks it, I want to check to see if they changed anything on the form. If they did, I will advise them to save the form before submitting.How would I determine if anything changed?Thanks for the suggestions....

Views

685

Likes

0

Replies

3
Re: Storing a Date/Time
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
Thank you for this explanation -- that helps.Since I have a Date/Time field (SubmitDate) in my form, how would I populate that with the current date and time?

Views

88

Likes

0

Replies

0
Storing a Date/Time
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
I have a date/time field called SubmitDate. I'm trying to store the date/time into that field, just before saving the form. For some reason this JS is not working.SubmitDate.rawValue = Date.getDate();app.execMenuItem("SaveAs");app.launchURL("http://Adobe.com");Am I doing something wrong?

Views

683

Likes

0

Replies

3
Re: Validate Control
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
Resolved...finally!To resolve this I setup a variable (File, Form-Properties) called JustOpened. I set the default value to "yes"I then put JustOpened.value = "no" in a form:ready event (you can use any object for this).I then put JustOpened.value = "yes" in the DocClose event (you can use any object for this too).In my validate function, I only execute the validate code if JutOpened = "no." Works like a charm.What I learned through this is that each object has associated with it, a list of (I t...

Views

123

Likes

0

Replies

0
Re: Setting and testing validation properties
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
Hi Laura,When you put a field (object) in a form, there are a number of "events" that you have access to. If you click the "Show" drop-down list in the top left corner of your screen, you will see a list of these events. One of the events is "validate." That's where you would write your code (FormCalc or JavaScript) to validate user input.Hope that helps....

Views

29

Likes

0

Replies

0
Re: First or Initial Function
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
Thank you Ocen12...you reply reminded me where these events are located.The DocReady event is what I was looking for. It's the first event that is executed.Thank you.

Views

93

Likes

0

Replies

0
Re: Validate Control
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
Thanks Paul,This is the way I need to go here. However, this is proving more difficult that it first looks.I created a variable called JustOpened and set the initial value to "yes"In my validate routine, I set JustOpened to "no" and then call my function. This does not work because, as you indicate, the validate function is called when the form opens.I like the idea of having the JustOpened variable and I think that having the default set to "yes" could work. However, where could I set JustOpene...

Views

93

Likes

0

Replies

0
First or Initial Function
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
I saw this somewhere...but the brain is drying up!When you create a form with LCD and someone opens that form with the Acrobat Reader, a function is automatically executed. What is the name of that function and how do I get access to it?Conversely, is there a function that run when the user closes a file.I'm trying to set a few variable values when the form opens and closes.Thank you for the feedback....

Views

444

Likes

0

Replies

2
Re: Validate Control
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
Thank you the feedback. My problem here was that when I created my objects, I used dashes in the names, as in "My-First-TextField" and this caused all kinds of problems -- problems that you don't want to wrestle with when you are learning something new!Since renaming all my objects, most of these problems have disappeared.Thanks again.

Views

95

Likes

0

Replies

0
Does External File Exist
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
I'm using LiveCycle Designer 8.xIs there a way to tell if an external file exists in LCD?More specifically, if a file exists in the same folder as the form, I want to execute certain javascript code, otherwise not.Thank you for suggestions....

Views

464

Likes

0

Replies

1
Re: Validate Control
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
Getting close....Because I'm a newbie, I'm not sure how to change the value of a different field and I will need this for your suggestion to work.To make it simply, assume that I have two fields MyFirst and MySecond.Assume that I'm on the first field (MyFirst). What would I put in the calculate event to change MySecond to, say "abc"Thank you for your help.

Views

91

Likes

0

Replies

0
Re: Validate Control
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
Thank you for the feedback.I did move the code to the exit event, but from an end-user perspective, I found this a bit confusion. For example, I have the imagefield (photo) and a text field (title),If the user adds an image that is too big and I put the code in the exit event (nothing happens), then when they click on the title field, they get the imagefield message.If there a way with java script to put code in the function that might say something like, "if the user is on this imagefield, then...

Views

89

Likes

0

Replies

0
Re: Validate Control
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
Thank you for your question.It's in the validation event

Views

89

Likes

0

Replies

0
Validate Control
Avatar

DrDave6

DrDave6
- Adobe LiveCycle
I'm using LiveCycle Designer 8.I have an Image field in a form with a validation java script that checks the size of the image that the user is adding. If the image is over 1MB, I issue a warning, but leave the image. There is no problem there.However, after the file is saved and upon opening the PDF, the LCD seems to run through all the validate scripts and therefore, issues the size warning.Any ideas how I can avoid the warning when the form is opened?All suggestions are appreciated....

Views

1.4K

Likes

0

Replies

11