Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

please help to improve the JavaScript script

Avatar

Level 1

please help to improve the JavaScript scriptA.JPG

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi there,

to increase and decrease the height of a subform, you use the following within the click of + and - button's

This should do the trick, I hope this will help you

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

Hi there,

to increase and decrease the height of a subform, you use the following within the click of + and - button's

This should do the trick, I hope this will help you

Avatar

Level 10

cmdRemove::JavaScript

if (_Row1.count > 1) {

     var b = parseFloat(Subform3.h) + 3.25;

     Subform3.h = b + "mm";

     _Row1.removeInstance(this.parent.index);

}