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

_Bruce_Robertson
Community profile _Bruce_Robertson MVP
Job title here
Location here
19 BADGES
MVP

MVP

Learn more
Joined the community 23-04-2008 12:00:27 AM
Offline
Top badges earned by _Bruce_Robertson
Customize the badges you want to showcase on your profile
Re: Binding and XML Data
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi, If your table is static then could you have two body rows. The binding expression for MO1 in the first body row would be "$.Schedules[0].FieldA" , MO2 would be "$.Schedules[1].FieldA", then for the second row use "$.Schedules[0].FieldB" and "$.Schedules[1].FieldB". Bruce

Views

246

Likes

0

Replies

0
Re: Change Textfield (with default text) color when user...
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
The runtimeHighLight property is one of the users application preferences. It is the same as if you went into Edit ... Preferences ... Forms and change the highlight color options there. Maybe you have one of the other settings there getting in the way. Can you try a different computer and see if the same things happens?

Views

252

Likes

0

Replies

1
Re: Change Textfield (with default text) color when user...
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi, your code to turn off highlighting should work, as long as the "F" of false is in lowercase, if that just some sort of auto correct in this forum? And, I would put it in the docReady event. There is more about the field highlighting, with a sample, in Niall's blog, https://experienceleaguecommunities.adobe.com/t5/adobe-livecycle/ct-p/adobe-livecycle-community Bruce

Views

255

Likes

0

Replies

1
Re: Incrementing the counter for every page
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi Ashok1, I'm not sure I understand when does the form know to go from 2/2 to 1/4 or 4/4 to 1/3. Are there multiple master pages? Maybe some images of your form hierarchy would help. Regards Bruce

Views

262

Likes

0

Replies

0
Re: Change Textfield (with default text) color when user...
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi, I guess there is something my code does not allow for in your form, are the fields in a repeating block, or are the field names duplicated? My test form for the code is;https://sites.google.com/site/livecycledesignercookbooks/home/ab35711410.pdf?attredirects=0&d=1 Can you share your form, just upload to whatever site (google docs, dropbox, etc) and post a link in this thread. Bruce

Views

271

Likes

0

Replies

1
Re: Change Textfield (with default text) color when user...
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi, Try this code in the layout.ready event form1.#subform[0].TextField1::ready:layout - (JavaScript, client) var som = this.somExpression.replace(/\[[0-9]*\]$/, ""). replace(/\[[0-9]*\]\./g, "."). replace(/xfa\.form/, "$template"). replace(/#subform\./, ""); var f = xfa.resolveNode(som); if (this.isNull || f.value.text.value == this.rawValue) { // is field empty or the default value this.ui.oneOfChild.border.fill.color.value = "255,255,153"; } else { if (this.ui.oneOfChild.border.isPropertySpec...

Views

342

Likes

0

Replies

3
Re: PDF form crashes LiveCycle when trying to reopen
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi, You can still add a link to your form in the thread. I can try opening it on my computer. Designer will create a copy of the form every time you preview it, this copy will be in your %temp% directory (just type %temp% into explorer) and will have a random name like _304g3770t141109nh.pdf. But this directory is usually under AppData, so you may have deleted it already ... but in case you took a copy. Regards Bruce

Views

831

Likes

0

Replies

2
Re: Live Cycle Designer edit caption
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Turns out I don't have a copy of Designer 11, but I have tried Designer 10 and AEM Forms 6 and can't see any problem. To upload your form you can use any file share web site, like google docs, dropbox, or whatever and post a link to it here. Bruce

Views

823

Like

1

Replies

1
Re: Live Cycle Designer edit caption
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi, That does sounds unusual, is it happening to all forms, even new ones? I am happy to try it on my system to see if it is the form or not. Are you able to share your form, you can upload it to any file share and post a link to it here. RegardsBruce

Views

945

Likes

0

Replies

0
Re: Calculating time
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
To get the total number of hours between your two field you can use, this FormCalc in the calculate event of your hours field. (Time2Num(TimeField2.formattedValue, "HH:MM") - Time2Num(TimeField1.formattedValue, "HH:MM")) / (60 * 60 * 1000) If you want 10 minute increments you might be better off with a couple of dropdowns to choose hours/minutes or maybe something like this timepicker with up/down 'spinner' arrows.

Views

3.4K

Likes

0

Replies

0
Re: How to bind the %VAT from a dropdown list
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi, I think we will need to see the form hierarchy to understand the issue. Can you add a screen shot, or maybe a link to the actual form? RegardsBruce

Views

2.6K

Likes

0

Replies

0
Re: Horizontally Expandable table rows
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi,Maybe try this method of changing normal subforms into a table, seems to allow for columns to be autofit https://blogs.adobe.com/formfeed/2011/10/tables-with-variable-numbers-of-columns.html Bruce

Views

2.7K

Likes

0

Replies

0
Re: Make the textfield mandatory
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi,If you mean that your text fields have a value because you have assigned them "(000) 000-0000" or the like, then you may want to use a null display pattern.So a display pattern of:null{'(000) 000-0000'}will have the same effect, but the mandatory test will still work.RegardsBruce

Views

3.8K

Like

1

Replies

1
Re: Color Failed Field - Form Properties
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi, The exclGroup is the container for the radio buttons, so this code will put the border around all the radio buttons, as opposed to each one individually. So, this is generally what you want. What effect are you wanting from the validation colouring? RegardsBruce

Views

2.8K

Likes

0

Replies

0
Re: data on that column comes out misaligned and scattered.
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi, maybe a screenshot would give us a better idea of what is going ob RegardsBruce

Views

2.6K

Likes

0

Replies

0
Re: Skip Form data when field matches specific value
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi, You can use an expression in the binding, so try $.PurchaseOrder.Item.[ActionCode <> "03"] Note the full stop should be before the opening square bracket. Regards Bruce

Views

4.2K

Like

1

Replies

0
Re: Skip Form data when field matches specific value
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi, You can use an expression in the binding, so try $.PurchaseOrder.Item.[ActionCode <> "03"] Note the full stop should be before the opening square bracket. Regards Bruce

Views

4.2K

Likes

0

Replies

0
Re: How to dynamically do the data binding (two-way binding as it happens when we do data binding through binding tab) through javascript?
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
I don't think you can script against the binding properties. If you can explain what you are trying to achieve, at a higher level, then we might be able to offer some alternatives. If you are wanting to change the binding from one element in your xml to another you might be able to use predicts.The remerge method takes the template DOM and data DOM and rebuilds the form DOM, so even if your scripting worked it would be reset by the remerge.RegardsBruce

Views

2.8K

Likes

0

Replies

0
Re: Make a field visible dependent on another fields length - Issue change event
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi Deborah,You are getting the exception because this.rawValue is null and the null object does not have a length property.In the change event this.rawValue has not been updated yet.You probably want to use xfa.event.newText instead.RegardsBruce

Views

2.6K

Likes

0

Replies

0
Re: dynamic image
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi Johan,I'm not sure what you mean, do you want to have lots of images in the form and select one to display? If so, then you can do that with JavaScript, something likeImageField1.rawValue = Image1.value.image.valueSo, you would end up with 2000 Image fieldsBruce

Views

2.7K

Likes

0

Replies

0
Re: saveXML and loadXML work in calculation event?
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi,We might need to know more about what your form is doing, but you could try moving the calculate event code up the form hierarchy, so maybe on Row2RegardsBruce

Views

2.8K

Likes

0

Replies

0
Re: saveXML and loadXML work in calculation event?
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi,I would suspect that doing the Row2.Cell1.value.exData.loadXML() will rebuild the Form DOM for that field. This would include the calculate event, so having the effect of interrupting the execution.Bruce

Views

2.7K

Likes

0

Replies

0
Re: dynamic image
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi Johan,You will have to include the jpg image data in your xml as a base64 encoded string, and then bind an image field to itYou can't pick up a JPG file externally.RegardsBruce

Views

2.7K

Likes

0

Replies

0
Re: Expandable text overriding the fotter and a blank page is inserted
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi,This is usually a "allow page break within content" option missing somewhere in the form hierarchy.Can you share your form, or maybe just a screen shot of the hierarchyRegardsBruce

Views

2.0K

Likes

0

Replies

0
Re: Hiding specific row in a table
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi,If you table has a row that repeats you can use something like this code;Table1.resolveNode("Row1[5]").presence = "hidden";Which will hide the 6th row.RegardsBruce

Views

2.8K

Likes

0

Replies

0
Re: Get Data from specific Page
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi Dennis,You will have to use the layout methods to work out which page you are on and to work out which page the appropriate PERSNR field is on.You will also have to do this in the ready:layout event, so there could be a performance hit.Anyway, this JavaScript code in the ready:layout event of the PERSNR_NEXTPAGE should do what you are after;var persnr;all:for (var i = xfa.layout.absPage(this); i >= 0; i--) { // work backwards from the current page var fields = xfa.layout.pageContent(i, "field...

Views

2.5K

Likes

0

Replies

0
Re: How to use Compound tags option (it is among the Paragraph properties) in LiveCycle Designer ES2 (9.8.0*)?
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi,There is more that can be done using the rich text options, than can be done with the Designer's bulleted lists.I did a sample some time ago that might help,Adobe LiveCycle Designer Cookbooks by BR001: Custom Bulleted and Numbered Lists RegardsBruce

Views

2.4K

Likes

0

Replies

0
Re: Resting Radio Buttons when Radio Button Field is hidden
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi,This depends on how you have done your show/hide code. If you were to have a subform that contained a radio button list called YesNo, one called ABC and a subform call aContent, then in the subform calculate event you could have code like;if (YesNo.rawValue == 1) { ABC.presence = "visible";} else { ABC.presence = "hidden"; xfa.host.resetData(ABC.somExpression);}if (ABC.rawValue == 1) { aContent.presence = "visible";} else { aContent.presence = "hidden";}The thing to note here is that when the...

Views

2.5K

Like

1

Replies

0
Re: Adobe Summit 2019 | L784 - Building for the Modern Web with the Adobe Experience Manager SPA Editor
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe Experience Manager
Hi,Try https://expleague.azureedge.net/labs/L784/resources.zip

Views

16.6K

Like

1

Replies

0
Re: Postal Code Validations
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Maybe look at validation patterns? Which country (or countries) are you targeting?

Views

2.7K

Likes

0

Replies

0
Likes given to