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

Steve_L_Walker
Community profile Steve_L_Walker Level 9
Job title here
Location here
19 BADGES
Level 9

Level 9

Learn more
Joined the community 03-01-2005 9:39:54 PM
Offline
Top badges earned by Steve_L_Walker
Customize the badges you want to showcase on your profile
Re: Need help on validation of inputted text
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
How about this, where TextField27 has a max length of 7?if (!(this.isNull)) { var str = this.rawValue; var regExp = /\D/; if (regExp.test(str)) { xfa.host.messageBox("...must contain numbers only."); } else { var diff = 6 - str.length; for (var i=0; i < diff; i++) { str = "0" + str; } this.rawValue = "f" + str; }}Steve

Views

135

Likes

0

Replies

0
Re: Disable characters typing into date/time field ?
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
Yan,Date fields are inherently alphanumeric. You could use a simple numeric field with a display and validation pattern of num{99999999}. I am a programmer by trade so I like to write code. I find text fields easier to manipulate. For example, for a text field with a max length of 8...// form1.page1.subform1.date_::exit - (JavaScript, client)if (!(this.isNull || this.rawValue == "")) { var str = this.rawValue; var regExp = /\D/; if (regExp.test(str)) { xfa.host.messageBox("Date must contain digi...

Views

170

Likes

0

Replies

0
Re: copy a field
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
You can use global data binding or a calculate event. See attached.Steve

Views

83

Likes

0

Replies

0
Re: Forcing link in one web based PDF to open link to another PDF in new browser window
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
I used a button, removed the border/fill properties and underlined the caption to look like a URL. The click event is...// form1.page1.subform1.urlBtn::click - (JavaScript, client)app.launchURL("http://spo.usu.edu/files/uploads/SP-01.pdf",true);The PDF will open in a new window or tab, depending upon the browser configuration.Steve

Views

113

Likes

0

Replies

0
Re: Is LiveCycle only a part of Adobe Acrobat 9 Pro EXTENDED, or does it come with the pro version too?
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
Designer ES is distributed with both Acrobat 9 Pro and Acrobat 9 Pro Extended for Windows.Steve

Views

206

Likes

0

Replies

0
Re: Disable characters typing into date/time field ?
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
One way would be to declare the date-time value as "Calculated - Read Only" and select a runtime property as current date. Depending on your objectives you could declare the value as "Protected" or "Read Only" also.Steve

Views

165

Likes

0

Replies

0
Re: Need help on calculate
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
I think I understand.//form1.page1.subform1.grade_::calculate - (JavaScript, client)if (!(form1.page1.subform1.total_.rawValue == "" || form1.page1.subform1.total_.isNull)) { var n_ = form1.page1.subform1.total_.rawValue; if (form1.page1.subform1.color_.rawValue == 35) { this.rawValue = "B"; } else { if (n_ > 89) { this.rawValue = "A"; } else { if (n_ > 69) { this.rawValue = "B"; } else { if (n_ > 49) { this.rawValue = "C"; } else { this.rawValue = ""; } } } }}Steve

Views

122

Likes

0

Replies

0
Re: Process ID numbering
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
Is it possible you are looking at a view by status? For example, the list contains completed processes in chronological order.Steve

Views

297

Likes

0

Replies

0
Re: Changing Color of Text
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
The attached contains examples of changing text field properties through script. For example, to change font colour.// form1.page1.subform1.cb4::change - (JavaScript, client)if (this.rawValue == 1) { xfa.resolveNode("form1.page1.subform1.tf.font.fill.color").value = "255,255,0";}else { xfa.resolveNode("form1.page1.subform1.tf.font.fill.color").value = "0,0,0";}Steve

Views

705

Likes

0

Replies

0
Re: How to make an XML in form of String to well-formed XML document
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
Rajesh,I don't understand. There is no difference between the two XML instances other than whitespace. They are both well-formed XML. Steve

Views

169

Likes

0

Replies

0
Re: Using JavaScript with desgin time properties
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
Kamil,Here is a sample for a text field with the fully-qualified name form1.page1.subform1.tf.xfa.resolveNode("form1.page1.subform1.tf.caption.value.#text").value = "Favourite Soccer Team";Sample attached. Note, it is possible to do bind captions to source data.Steve

Views

182

Likes

0

Replies

0
Re: How to make an XML in form of String to well-formed XML document
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
In a Set Value operation use the deserialize() function found in the Misc group, where xmlDoc is of type 'xml' and xmlStr is of type 'string'.Steve

Views

168

Likes

0

Replies

0
Re: Scrolling Text
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
I am not sure I follow. I added a text field to the form. When you click "Yes" the text field object and text object become visible. When you click in the text field object the scroll bar appears.

Views

455

Likes

0

Replies

0
Re: Scrolling Text
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
Defining a text field as multi-line will cause a scrollbar to appear when the amount of text overflows the visible text field area.The attached form includes a radio button group to show/hide the text field.Steve

Views

422

Likes

0

Replies

0
Re: How do you populate 1 text box with multiple dropdown values
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
You need to remove the script from each drop-down change event and put all the script on the description calculate event. For example,// form1.NonCompliancePage.subform2.description::calculate - (JavaScript, client)var str = "";if (form1.recordKeepingPage.RecordKeeping.rk_BusName.rawValue == "Required Records - No business name listed" || form1.recordKeepingPage.RecordKeeping.rk_BusName.rawValue == "Required Records - Partial business name listed") { if (form1.recordKeepingPage.RecordKeeping.rk_...

Views

272

Likes

0

Replies

0
Re: Adding distiller job option in invokeDDX
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
Shaji,Not that I am aware of. However, PDF Generator does use the same job options as Acrobat (ES 2.5 uses Acrobat 9 and ADEP uses Acrobat X). See Administrator UI > Settings > PDF Generator > Adobe PDF Settings.Steve

Views

184

Like

1

Replies

0
Re: How do you populate 1 text box with multiple dropdown values
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
If you send the form to stwalker.adobe@gmail.com I'd be happy to take a look.Steve

Views

270

Likes

0

Replies

0
Re: leading zero
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
There's always code. For a text field with a max length of 9.// form1.page1.tf-numeric-only::exit - (JavaScript, client)if (!(this.isNull)) { var tf = this.rawValue; // \D to match any character NOT in the range 0 - 9 var regExp = /\D/; if (regExp.test(tf)) { xfa.host.messageBox("The field must be numeric."); } else { if (tf.length != 9) { xfa.host.messageBox("The field must contain 9 digit."); } else { if (tf.substring(0,2) != "00") { xfa.host.messageBox("The field must start with '00'."); } } ...

Views

1.5K

Likes

0

Replies

0
Re: Custom Reset Button
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
As described by the doc you can use xfa.host.resetData() and pass a "A valid string listing either the names or the equivalent reference syntax expressions of the fields to reset. The list entries are delimited by the "," (comma) character. If the string is not present or empty, all the fields in the form are reset to their default value." For example, add a button of control type "regular" and add the following script to the click event:xfa.host.resetData("xfa.form.form1.TextField1,xfa.form.for...

Views

111

Like

1

Replies

0
Re: How do you populate 1 text box with multiple dropdown values
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
Is this what you are after?// form1.page1.subform1.tf::calculate - (JavaScript, client)if (form1.page1.subform1.color.selectedIndex != -1 && form1.page1.subform1.fruit.selectedIndex != -1) { this.rawValue = form1.page1.subform1.color.rawValue + "\n" + form1.page1.subform1.fruit.rawValue;}else { if (form1.page1.subform1.color.selectedIndex != -1 && form1.page1.subform1.fruit.selectedIndex == -1) { this.rawValue = form1.page1.subform1.color.rawValue; } else { if (form1.page1.subform1.color.selecte...

Views

266

Like

1

Replies

0
Re: XSLT - Exception error when using XSLT 2.0 code in Transform on LiveCycle ES2
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
The XSLT service is configurable.http://help.adobe.com/en_US/LiveCycle/9.5/WorkbenchHelp/WS92d06802c76abadb-1cc35bda128261a20dd-6750.html1) Stop LiveCycle.2) Add the .jars of your XSLT processor of choice to the LiveCycle server lib folder.3) Restart LiveCycle.4) Go to Workbench and stop the XSLT service. Right-click on XSLTService:1.0 and Edit Service Configuration.5) Enter the factory name for the given XSLT processor. I think for Xalan 2.7.1 it is org.apache.xalan.processor.TransformerFactory...

Views

143

Like

1

Replies

0
Re: Notification when two object fields do not equal?
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
stwalker.adobe@gmail.com

Views

147

Likes

0

Replies

0
Re: Sunday Validation
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
The attached validates the first date entered is a Sunday and calculates the second date as 6 days from the first date.// form1.page1.date1::exit - (FormCalc, client)// Get the number of days since epoch (Jan 1, 1900).var dateNum = Date2Num($.formattedValue,"MM/DD/YYYY")// Convert the number of days to the full weekday name.dayOfWeek.rawValue = Num2Date(dateNum,"EEEE")// Calculate 6 days from the chosen date by adding 6 to the number of days since the epoch.date2.rawValue = Num2Date(dateNum+6,"M...

Views

135

Likes

0

Replies

0
Re: Notification when two object fields do not equal?
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
The attached form uses a dynamic table enabling the addition and deletion of rows. As you add rows and insert column values it validates the table total against the GL Account Total. If the two don't match the table total cell is filled with red.When a cell is corrected and the GL Account Total matches the table total the table total fill colour is reset.The calculate event script on the table total looks like this..// form1.page1.subform1.table.footer.total::calculate - (JavaScript, client)var ...

Views

148

Likes

0

Replies

0
Re: Validate
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
How about this on the ready:form event on the form root?// form1::ready:form - (JavaScript, client)if (form1.page1.subform1.n3.rawValue > 1 && form1.page1.subform1.n3.rawValue < 2000) { xfa.host.messageBox("The value n3 is GT 1 and LT 2000.");}Steve

Views

88

Like

1

Replies

0
Re: word to pdf issues
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
Check list:1) As Gil asked, "...are you able to create PDFs from Word on the server?"2) If you have LiveCycle ES2 you need Acrobat 9.2 installed on the server.3) Is Acrobat_PATH valid for Acrobat install?4) Have you run ../Adobe/Adobe LiveCycle ES2/pdfg_config/Acrobat_for_PDFG_Configuration.bat?Steve

Views

154

Likes

0

Replies

0
Re: partially saving the form in repository
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
Yes, you should not persist the partially saved form in the LiveCycle repository. In fact, saving the partially completed form to the repository would require a hack. Additionally, there is no incremental value in having the form in the repository versus another storage mechanism.Steve

Views

184

Likes

0

Replies

0
Re: How to get the 'Z' in time?
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
var date = new Date();this.rawValue = date.toTimeString();The function toTimeString() handles leading zeroes and includes time zone, for example 18:05:56 GMT-0700 (Pacific Daylight Time).Steve

Views

85

Likes

0

Replies

0
Re: Json to livecycle
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
It is possible but not trivial. Designer supports XML, SOAP, HTTP name-value pairs and mapping to a database schema. It does not natively support JSON. I suspect you will have to wrap the JSON object in XML, SOAP or a HTTP name-value pair for transport, load a hidden field or the data DOM and then parse the JSON object to map to the form fields.Steve

Views

225

Likes

0

Replies

0
Re: Align my_text in the CENTER of the form?
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
As stated above, go to the Paragraph properties for the text object, click the chevron to select "Currently editing Value properties" and select centre align.Steve

Views

212

Likes

0

Replies

0
Likes given to