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

nakmo
Community profile nakmo Level 2
Job title here
Location here
0 BADGES
Level 2

Level 2

Learn more
Joined the community 26-07-2006 7:36:56 AM
Offline
Top badges earned by nakmo
Customize the badges you want to showcase on your profile
Re: Saving Fillable Form as non-fillable PDF
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
Hi Paul, I'm also interested in your code. Could you please send it to me? My email is nak.morris@gmail.comthanks in advance.

Views

1.5K

Likes

0

Replies

0
Re: Grid lost in Design View
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
Check to see if the background is filled.

Views

728

Likes

0

Replies

0
Re: New pages not displaying in Designer
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
Log on to the Acrobat User Community and under How To go to the JavaScript Corner. At the botton of the page there is a link to view all of Thom's tips. You will find the followingJavaScript CornerInserting pages into a PDF with Acrobat JavaScriptOne of the most common document-preparation tasks is inserting pages from one PDF into another PDF. Whether it's simply appending documents or inserting individual pages into special locations, the Acrobat user interface can be very cumbersome when this...

Views

294

Likes

0

Replies

1
Re: New pages not displaying in Designer
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
In Acrobat use File/Create PDF/From mutiple files. Once created then (in Acrobat) Advanced/Forms/Open Form in Adobe Designer.

Views

334

Likes

0

Replies

0
Re: New pages not displaying in Designer
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
What about combining the files in Acrobat and then opening in Designer.

Views

336

Likes

0

Replies

0
Re: Changing a readOnly field to accessable
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
Thanks - works great.

Views

111

Likes

0

Replies

0
Changing a readOnly field to accessable
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
I have a form that when a checkbox is checked another part of the form is set to readOnly. My question is, if the same checkbox is unchecked how do I change the fields set to readOnly back to user entered.

Views

396

Likes

0

Replies

2
Auto tabbing not working, why?
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
I am not sure as to why the auto advance is not working in the following script. The alert box does appear when a letter is entered in to the field after tabbing out. Also, the field is cleared and focus is in the right field, but when 3 numeric digits are entered it does not advance. I do not have anything on the Object----- SetupForm.ServiceAuthPage1.Phone2::exit - (JavaScript, client) --------------if (xfa.event.newText.length == 3) {var r = new RegExp("^[0-9]+[0-9]+[0-9]");var result = r.tes...

Views

173

Likes

0

Replies

0
Re: Autotab - is it possible?
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
I found this in another posting - hope it helps others - It worked for mehttp://www.adobeforums.com/webx/.3bc0df31/4Chris Trubiani - 6:36am Jul 13, 06 PST (#3 of 5) Ok, so what you would need to do then is have a script on the change event on your fields, that tests the length of xfa.event.newText to see if it's the length you want, and if it is then call xfa.host.setFocus() to move focus to the next field. Something like: if (xfa.event.newText.length == 2) { xfa.host.setFocus("TextField2"); } C...

Views

549

Likes

0

Replies

0
Re: Message Box Help
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
Sorry, no.

Views

114

Likes

0

Replies

0
Re: Message Box Help
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
Paula -Try the followingvar choice = app.alert("Are you sure you want to clear all data?",2,2);if (choice == 4){xfa.host.resetData();}

Views

114

Likes

0

Replies

0
Yes No alert box question
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
I am working in LiveCycle 7.0 and have created an alert box for my dynamic form that appears on exit of a text field.exampleapp.alert("Is this correct?",2,2);What I need to do upon the answer is:if Yes is clicked some text and drop down fields need to be filled in / completed.if No these same fields need to be read only.If anyone can direction to the place to find the answer, thank you thank you thank you.

Views

460

Likes

0

Replies

1
Re: Subform Question
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
Chris Thank you so much. You are a great teacher for resolveNode. I have added the other fields to resolveNode and the verification works perfectly on all fields and instances.I am posting the completed script so that if someone has the same question they can refer to what you have taught me.----- form1.Header.CompanyInfo.Request.AddALine::click - (JavaScript, both) ------------------------//check the number of DETAIL instances var numberOfDetail = xfa.resolveNodes("Detail[*]").length; //start a...

Views

203

Likes

0

Replies

0
Re: Subform Question
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
Chris I have added what you have above and I am now having a different error. The validation popups are working on the first line only. The debugger is showing the following if I click addALine on the second instance with no date entered or if I have selected the TaxType and have not completed the request. Also the setFocus does not seem to be working, the curse is not visible in the called field.GeneralError: Operation failed.XFAObject.resolveNode:3:XFA:form1[0].Header[0].CompanyInfo[0].Request...

Views

203

Likes

0

Replies

0
Re: Subform Question
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
Chris-Sorry about the delay. I have been out of the office. Here is the script.----- form1.Header.CompanyInfo.Request.AddALine::click - (JavaScript, client) ----------------------////Validate TaxType has been selectedvar aVar = 0if ((Detail.TaxType.rawValue == null) && (Detail.ItemNum.rawValue != null)){app.alert("Please select a tax type.");aVar = 1;}else{aVar = 0;}////Validate Yrvar bVar = 0if ((Detail.TaxType.rawValue > 0) && (Detail.Yr.rawValue == null)) {app.alert("Please enter the year for...

Views

203

Likes

0

Replies

0
Subform Question
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
I have a LiveCycle dynamic form that has a subform that allows the user to add additional line (works great).What I am stumbling with is the validation working on all rows. The validation script works on the initial row, but does not flow to the added rows. What I am think might work, is to look at the subform occurrance and qualify off that, but I don't have any idea how to do it. If someone could let me know if I am looking in the right direction, has a better way, or has run up against this, ...

Views

544

Likes

0

Replies

7
Re: Button to Add Row
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
Does anyone know if there is a way to validate each row that is added?I have validation script on the first row and I do not know how to have the additional rows also validate.

Views

424

Likes

0

Replies

0
addInstance validation
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
I have created a form in LiveCycle 7.0. I am using AddInstance to created additional lines to be filled in. I have validations on the first subform, but they are not carried to the additional subforms. How can I accomplish the validation of the additional lines?

Views

215

Likes

0

Replies

0
Alert box for addInstance max and validation on addInstance
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
I have read the section about the instance manager to control subforms in LiveCycle Designer Scripting Basics. What I am trying to do is have a popup appear when the subform max has been met. What is in the manual is below and I am confused with the word 'methods'? if (methods.Subform2.instanceManager.count ==methods.Subform2.instanceManager.max) {xfa.host.messageBox("You have reached the maximum number of items allowed.","Instance Manager Methods", 1);}else {methods.Subform2.instanceManager.add...

Views

281

Likes

0

Replies

0
Re: Tab order not working properly
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
In LiveCycle under View there is an option that you can select TabOrder. This will show you the order for the form. You will need to hold the Shift key down and click the first field you want then release the Shift key and click in order the rest of the fields. Hope this helps.

Views

74

Likes

0

Replies

0
Spell Check?
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
I have created the form in Designer 7.0. To be a little more detailed, there is one text field that I do not want to have spell check on. Is there javascript that can be assigned to the textbox for doNotSpellCheck?

Views

871

Likes

0

Replies

1
Re: Validating the first position of a field?
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
Hi Chris!Thanks for the response.I added what you gave me to the exit event but it seems to not work correctly.This is what is in the script editor now. I am checking the format first and that seem to be working ok. But no matter what put in the text field I am getting the pop up.///// Verify format this.rawValue = util.printx("9999999 9",this.rawValue);if (this.rawValue.length < 9){app.alert("Please enter your Account ID.\n\nThe format is 9999999 9.");xfa.host.setFocus("Account_ID_Number");Acco...

Views

96

Likes

0

Replies

0
Validating the first position of a field?
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
I am new to LiveCycle Designer (7.0) and Javascript and I am hoping that someone can help or point me in the direction to find the answer to my question.I am using a text file that needs to be verified to see if the first position contains only a 1, 2 or 0. What I have isvar 1Var = /^d{1}$/but I do not know what to do next. Any help would be greatly appreciated.

Views

276

Likes

0

Replies

2
Re: Pop up appears when form is opened?
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
Hello Hélène -I can not believe that I made this so difficult for myself. By cutting and pasting what you had in your first response into validate all is working great. I think for my first form I am trying to hard to make everything validate on one click. I have removed the ScriptObject from the form and will continue to use what you have taught me.Thank you for being so patient with me.Not as confused Nancy

Views

194

Likes

0

Replies

0
Re: Pop up appears when form is opened?
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
Hélène-Thanks for the detail regarding validation script, but I still am having a problem with it. I have tried what you told me (remove reset the value) the popup no longer appears when the form is opened. But the validation does not seen to be working. It is not working either in the validate or exit event. This is what I have now on that text field.----- form1.#subform[0].Y::exit - (JavaScript, client) ---------------------------------------------//Verify year is current or year+1var today = ...

Views

194

Likes

0

Replies

0
Re: Pop up appears when form is opened?
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
Thanks Chris that did it.

Views

194

Likes

0

Replies

0
Pop up appears when form is opened?
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
I am new to JavaScript and I have the following script that I hope someone can help me with.I am using LiveCycle Designer 7.0 from Acrobat Professional. I am trying to validate the entry in a test field. I want to make sure that the four digit year is not less than the current year and can be a year in the future.My problem is when the form is opened in Reader the alert box pops up before the actual form. When I key in the field the validation seems to be working. What do I need to do to stop th...

Views

727

Likes

0

Replies

6
Re: help showing and hiding fields with javascript livecycle 7.x
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
Jeff -I am new to this also but I think I can help.Use the click event in the Script Editor and keyx.presence = "visible";Where "x" is the name of the field you want to see. Also set the presence on the Object pallet to invisible not hidden.

Views

51

Likes

0

Replies

0
Re: Current Date
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
It seem to be working today. Sorry about any that.

Views

108

Likes

0

Replies

0
Current Date
Avatar
Level 2
nakmo
Level 2

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
View profile
nakmo
- Adobe LiveCycle
I just added from the Custom Tab from the Library Pallet the Current Date object to my form. On the Object Pallet, the Field tab is set as followsAppearance : NoneDisplay Pattern: YYYY-MM-DDEdit Pattern: MM-DD-YYYYLocale: Viewer's system localeOn the Value TabType: Read OnlyOn the Binding TabName: Current DateDefault: NoneData Pattern: YYYY-MM-DDData Format: DateWhen I click on PDF Preview it just hangs.So I went into the script editor and changed $.rawValue = num2date(date(), DateFmt(1))to$.raw...

Views

458

Likes

0

Replies

1