Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Improve performance hit by layout:ready in nested repeatable subforms

$
0
0

Hi,

 

I am having a form which has a performance issue due to script in layout:ready event for 3 of the fields and these are fired more often. These 3 fields require height adjustment during form runtime when one add/remove a repeatable subform. Form have 3 nested repeatable subforms, third nesting in second and second nesting in first. So when the form grows near to 1 page size or more, performance hitting starts. Even exiting a text fields take 3-4 seconds.

 

So I want an alternative approach to set heights of these 3 fields or code for height adjustment run only when any of the 6 Add/Remove buttons is clicked. Some time I have to click a button having xfa.layout.relayout(); under click event to correct layout.  I have attached two images for better understanding for hierarchy.

Thanks

Arvind

 

Hierarchy

Capture.PNG

Layout

Capture3.PNG


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>