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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

JohnBrinkman
JohnBrinkman
Offline

Badges

Badges
6

Accepted Solutions

Accepted Solutions
3

Likes Received

Likes Received
0

Posts & Comments

Posts & Comments
20

Discussions

Discussions
0

Questions

Questions
0

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by JohnBrinkman
Customize the badges you want to showcase on your profile
Re: drop-down list formattedValue returning value, not text - Adobe LiveCycle 25-02-2009
Tom:It's possible, but complicated. You need to look into the field definition where we store the listbox contents. Then you can correlate the display item from the bound item. I've done this before in another context. I've appended the script I used. John Brinkmanhttp://blogs.adobe.com/formfeedfunction getDisplayValue(vField){ var vBoundItems = saveItems(vField); var vDisplayItems = dispItems(vField); if (vBoundItems == null || vDisplayItems == null) return vField.rawValue; for (var i=0; i aaa ...

Views

881

Likes

0

Replies

0
Re: How to find out if a pattern validation failed - Adobe LiveCycle 25-02-2009
Edgar:Instead of using a validation picture, you could put the logic in a FormCalc validation script and use the format() method. Then if it fails you can clear the field and setFocus() back into the field.Alternatively, you could use a display picture and your validation script could compare rawValue with formattedValue. If a display picture fails, then rawValue and formattedValue will be the same.I've described this in more detail (with a sample) at:http://blogs.adobe.com/formfeed/2009/02/call...

Views

250

Likes

0

Replies

0
Re: "xfa.data.nodes.remove" wreaking havoc on dynamic forms - Adobe LiveCycle 25-02-2009
I have posted a blog entry with a sample that includes a debugging tool -- a subform that displays the contents of the form dom and data dom and the relationships between them.Have a look at:http://blogs.adobe.com/formfeed/2009/02/form_dom_debugging_tool.html John Brinkman

Views

360

Likes

0

Replies

0
Re: Preventing Form Calc Runtime Error Message Dialog - Adobe LiveCycle 11-02-2009
Duarte:You cannot catch exceptions in FormCalc -- it doesn't have that language feature. If this is important to you, you need to stay with JavaScript. Of course there are certain functions that are available only in FormCalc. There is a way to get at those functions from JavaScript. See my blog post at:http://blogs.adobe.com/formfeed/2009/02/calling_formcalc_functions_fro.html John

Views

241

Likes

0

Replies

0
Re: How to know the target XFA Version of a form with JavaScript - Adobe LiveCycle 06-02-2009
Duarte:I have a blog entry that discussed target version and original version. It also has a sample that shows how you can extract these versions from a form at runtime.http://blogs.adobe.com/formfeed/2009/02/form_compatibility.html John

Views

253

Likes

0

Replies

0
Re: Remove all instances of a subform - Adobe LiveCycle 06-11-2008
Ian:It looks like you're not constructing a proper reference to your instance manager. The easy way to do it is to prefix the subform name with an "_". e.g. if your subform is named "detailLine", then the instance manager will be named "_detailLine".To remove all instances, code:_detailLine.count = 0;(No need to use a loop).If you want to selectively delete subform instances, then reference _detailLine.removeInstance() in a loop. John http://blogs.adobe.com/formfeed/

Views

495

Likes

0

Replies

0
Re: Alternating Table Rows - Complex tables - Adobe LiveCycle 06-11-2008
Try this:1. Wrap your main row and indented row in a subformSet.2. Mark the subformSet as repeating3. Mark your main row and indented row subforms as "not repeating"4. Make sure your subformSet type is: "select one subform from alternatives" John http://blogs.adobe.com/formfeed/

Views

172

Likes

0

Replies

0
Re: Field validation patterns - how sophisticated ? - - Adobe LiveCycle 06-11-2008
Bill:It might have been this blog entry:http://blogs.adobe.com/formfeed/2008/10/numeric_constraint_no_zeros_2.htmlThe answer is to use a picture clause such as:zero{'n/a'}|num{$zzzz9.99} John

Views

334

Likes

0

Replies

0
Re: Remove all instances of a subform - Adobe LiveCycle 06-11-2008
Actually, it's even a bit easier than that. The count property on the instance manager is read/write. To remove all instances of a subform you can code:instanceManager.count = 0; John http://blogs.adobe.com/formfeed/

Views

495

Likes

0

Replies

0
Re: Focus after validation error - Adobe LiveCycle 27-10-2008
The easiest way to convert a picture validation to a script validation is to use the formcalc format() function.E.g. the formcalc script to validate a US zip code would look like:format("text{99999}", $) <> ""

Views

244

Likes

0

Replies

0