since ‎12-02-2011
‎10-12-2019
fcbg1234
Level 1
Re: How to mask a string with asterisks (*) when printing?
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
I need to mask out an Account Number field when printing but can't seem to make ithings work.Where does your suggestion go under form calc? Is radzmar's suggestion needed with yours??

Views

1.1K

Likes

0

Replies

0
Time Field Format Conversion
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
I have a time field that works fine if you enter Military time format, 1336 is converted to 1:36 PM or 0245 is converted to 2:45 AM. I might be reaching for the stars but Is there a way to somehow enter standard time and have it converted to the actual format? Something like, 136p is converted to 1:36PM or 245a is 2:45 AM?Thanks!

Views

496

Likes

0

Replies

1
Copy Calculated Fields and Script Object from one form to another form.
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
I did this once and for the life of me i can't figure it out now.I created a weekly note pad with calculated date fields and holiday fields which get populated with the holiday that falls on that date. I incorporated my person holidays so i won't for get birthdays, anniversary's and so forth.I create the form in Word using the Event Planner template which i redesigned for my use the print to .pdf. When the Word document is opened it asks for a month to start so i can select the month prior to th...

Views

267

Likes

0

Replies

0
Re: Please Help with Code Triggering Two Things!
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
One other question which I can't seem to find an answer for.How do you create a pop up message when the form opens?I have a form that does that but I can't find what triggers it. I've looked at all the events and scripts but I see nothing. I thought maybe it was on the docReady but there is nothing there.I created a new document and put this, app.alert("Please Complete All Required Fields Highlighted Red", 3); on docReady which works but the other document doesn't have that yet there is a pop up...

Views

338

Likes

0

Replies

0
Re: Please Help with Code Triggering Two Things!
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
No offense taken. I have no clue to what I'm doing other then copy, pasting and tweaking. I'll take a look at the JS-Lint tool. I figured out the print issue and got things working and then the form needed to be expanded. I expanded the form and put the buttons on the second page but nothing happens, if I move them to the first page it works as it should. I'll do a search to see if I can find the answer it's just that you've been so helpful I thought I'd ask.

Views

336

Likes

0

Replies

0
Re: Please Help with Code Triggering Two Things!
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
I'm trying to create a fillable form for new accounts which will check for required fields before printing and prompt the user if there are required fields missing and determine if it's a joint account. I've almost got it and maybe what I want isn't possible. For the test I have two text fields and 4 check boxes.I got the required fields working by using the following javascript on the “Click” function;if ((TextField1.rawValue == null) || (TextField2.rawValue == null) || (CheckBox1.rawValue == "...

Views

339

Likes

0

Replies

0
Re: Please Help with Code Triggering Two Things!
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
No problem, and I was able to get the script to work by removing, PrintButton1.execEvent("click") after "Please Complete Customer B Information!", however, I had to keep this in order for it to work,{ ; } } After looking at your second code it looks like I needed to remove the first curly bracket { .Any idea why the following code doesn't work? I created a checkbox, and one text field and a submit by email button. I made the textfield required and put the code on the click of the check box, and ...

Views

339

Likes

0

Replies

0
Re: Please Help with Code Triggering Two Things!
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
Thanks for the reply. What you suggested almost worked, however once you select OK to the prompt "Please Complete Customer B Information", it prompts you to print where I just want it to cancel if you select OK.I removed, PrintButton1.execEvent("click") fromif (xfa.host.messageBox("Please Complete Customer B Information!", "" , 1, 0) === 1) { PrintButton1.execEvent("click"); and it worked as I intended. However, messing around I removed the{ ; } } and it didn't work so I added them again an it w...

Views

339

Likes

0

Replies

0
Please Help with Code Triggering Two Things!
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
Is there a way to make the code below NOT bring up the prompt "Please Complete Customer B Information” if you select“No” to the first question? If “No” is selected I would like the form to print, which it will but it also brings up the prompt "Please Complete Customer B Information”. Thanks for any help!!var answer=xfa.host.messageBox("Is this a Joint Account?","Confirmation Required !!!",2,2)if(answer == 3){PrintButton1.execEvent("click");}if(answer == 4){ var answer=xfa.host.messageBox("Have Y...

Views

1.1K

Likes

0

Replies

9
Required Information
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
I have a form to gather new customer account information which has required fields and will prompt the user before printing if there are fields missing information. My dilemma is that if it’s not a joint account, Additional Customer information is not required, however, if it’s is a joint account then the Additional Customer information would be required. Is there a way to have two check boxes one for an Individual and one for a Joint account maybe at the top of the form and if Individual is sel...

Views

403

Likes

0

Replies

0
Missing Fields before Printing Warning
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
I’m trying to create a form that will trigger a warning when printing if there are any missing fields. There is no data collection or document management going on. I created two examples which have 4 text fields in a column, with a Yes and No check box side by side and then two additional check boxes below the text fields. In both examples I created a clear button and placed it on top of the Print Form button and I placed the code on the Click function of the clear button using FormCalc.The firs...

Views

318

Likes

0

Replies

1
Required Fields Validation
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
I've been asked to work on some forms we have. We have Adobe Acrobat 9 and LiveCycle ES but I'm not proficient in either of them. In fact, I will need things pretty much drawn out for me or my hand held. I've searched all over and can not find an explanation I understand. I've read about the OnBlur method but I can't even find the OnBlur function.We have a form with 5 fields which are all required. However, it never fails that someone misses a field. We want a message to pop up before printing t...

Views

890

Likes

0

Replies

1
Re: Display image based on drop down selection.
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
Saving the form as Dynamic XML made things work. Thanks for the information.

Views

1.6K

Likes

0

Replies

0
Re: Display image based on drop down selection.
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
I thought this might work but still no image is displayed. No errors just no image. As before I just chose Insert, Image and selected the image I wanted and hide it and did that with three images. What's the difference between Image and Image Field? Would that have anything to do with it?? It seems like I'm just about there, I generally get all kinds of errors trying to do this stuff. Thanks again!form1.#subform[0].DropDownList1::exit - (JavaScript, client)if (this.rawValue == "1"){Image1.presen...

Views

1.5K

Likes

0

Replies

0
Re: Display image based on drop down selection.
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
I can't seem to get the images to display after selecting an image from the drop down nothing appears. I selected javascript and added your suggestion to the exit on the drop down list. I placed my images using a the Image command not the Image Field command and then hide the two images. I used the Binding tab and gave them a value of 1 & 2 but nothing appears when I select image 1 or 2 from the drop down. This might be more then I want to get into but let's say I have 20 images I want available...

Views

1.5K

Likes

0

Replies

0
Display image based on drop down selection.
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
I'm new to Live Cycle Designer and trying to create a form where you can select a name of an image from a drop down list and that image will appear on the page to be printed. The images would vary in size if that matters.I copy and pasted code using Microsoft Front Page and it works but not sure how to convert it to a .pdf. Maybe it isn't even possible as I'm wondering where the images would reside??Here's my Front Page code: window.onload=function(){function setImage() { var img = document.getElementById("image"); img.src = this.value; return false;}document.getElementById("ImageList").onchange = setImage;} Select Image Image 1 Image 2 Thanks for any help.

Views

9.1K

Like

1

Replies

8
Re: How do i change the backgrond color of a drop down box.
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
The font changes now but the background color stays white. When it was saved as static the background color changed but the font wonldn't. Thanks for you help.

Views

260

Likes

0

Replies

0
Re: How do i change the backgrond color of a drop down box.
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
I tried your suggestion but the font stays the same size.Here's the file if it helps.http://www.stagecoacheventcenter.com/pdfs/ept.pdfThanks!

Views

262

Likes

0

Replies

0
Re: Font Size in a Drop Down Menu
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
That didn't work. I have 4 drop downs and i put different font sizes in each enter and exit except the first one where i have nothing at all. For some reason the font on the first drop down is lager than the rest which is strange becasue i have nothing on the enter or exit on that drop down. This seems so simple but i'm at my wits end. Also, how come there are black lines around the drop downs? I have the border set to none on all of them.Here's the file if it helps.File If you select a question...

Views

315

Likes

0

Replies

0
Font Size in a Drop Down Menu
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
Is it possible to have the selections in a drop down menu be one font size and then when the selection is choosen it is displayed in a lager font size?I did this, form1.#subform[0].DropDownList1[0]:: enter - (FormCalc, client)$.font.size = "12pt"which made the font size 12pts.I then tried to put $.font.size ="35pt" on Exit, Validate etc but nothing made the font size change once i selected it. Thanks!

Views

1.9K

Likes

0

Replies

2
How do i change the backgrond color of a drop down box.
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
I'm creating a form which has a colored background and a drop down box with 5 choices. The problem is the font color in the drop down box is white and so is the background color of the drop down box so the selections are not visible unless you scroll over them. I would like the background of the drop down box to match the background of the form. Also, can the font size of a selection in a drop down box be different then what is displayed. The font is set to 35 so it's huge when displayed in the ...

Views

1.9K

Likes

0

Replies

4
Date in two fields
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
Is there a way to select a date from a date field, have it dispaly in that field and also display in another field.I tried adding sum(fieldname) to second field i wanted the date to show in but it displayed a 0.Thanks.

Views

622

Likes

0

Replies

2
Re: If Holiday Date Then Display Holiday Name In Another Field
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
What I want is to enter a date in a date/time field and if there is a holiday I want it to display in another field on the same page. However, there are 7 pages to the form and each page has a date/time field and a field to display the holiday. On pages 2 – 7 the date/time fields is calculated from the StartDate on page one.The way it works is if the StartDate is say tomorrows date Wednesday August 31st, 2011 the next page will display Thursday September 1st, 2011 and the next page Friday Septem...

Views

250

Likes

0

Replies

0
Re: If Holiday Date Then Display Holiday Name In Another Field
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
Just to further elaborate here is the error message when the form is opened and when a date is entered in the StartDate field on the first page,Here is script on the Day2 field as well as the rest of the Day fields throughout the form which seems to be causing the error. The + 1 changes to calculate the correct date from the StartDate.form1.#subform[1].Day2::calculate - (FormCalc, client)if (StartDate.rawValue==null) then$.rawValue = ""elseNum2Date(Date2Num(StartDate.formattedValue, DateFmt(4)) ...

Views

248

Likes

0

Replies

0
Re: If Holiday Date Then Display Holiday Name In Another Field
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
So I got things almost working. Well, things are working but I’m getting some errors. I have a seven page form with two fields on each page, a date/time field and a text field where the holiday will display if there is on that particular day. Each page represents a day starting on day one with the ability to select a date for day one and the rest of the days will fill in with the corresponding date and holiday if there is on that particular day. I have the script that generates the holiday in th...

Views

248

Likes

0

Replies

0
Re: If Holiday Date Then Display Holiday Name In Another Field
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
How do i get it in a form i've already designed?

Views

251

Likes

0

Replies

0
Re: If Holiday Date Then Display Holiday Name In Another Field
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
Found it under Window.

Views

248

Likes

0

Replies

0
Re: If Holiday Date Then Display Holiday Name In Another Field
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
Is this what you are referring to? This is all i see in the script editor and don't understand how to edit it,form1.Page1.DateTimeField1::exit - (JavaScript, client)app.alert(this.formattedValue)TextField1.rawValue= MyScriptObject.check_holiday(this.formattedValue)Thanks.

Views

250

Likes

0

Replies

0
Re: If Holiday Date Then Display Holiday Name In Another Field
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
How do i modify this?

Views

251

Likes

0

Replies

0
If Holiday Date Then Display Holiday Name In Another Field
Avatar

fcbg1234

fcbg1234
- Adobe LiveCycle
I'm trying to make a form so if a Date&Time field is set to a holiday date i.e. 9/5/2011 or 12/25/2011 then another field would display the holiday name i.e. Labor Day or Chrismas Day.Thanks for the help.

Views

1.9K

Likes

0

Replies

14
Likes from