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

Want to have an add row button/row is invisible till called


Level 3

I would like to have a button "Add" which, when clicked, makes a new field appear.

I know I have to set the new field (table row, text box, etc.) to invisible.

I know that I can do this with whole sections as well. (really cool if I can learn this!)

I am interested in knowing how to do each of these tasks.

I would like to know the settings, the kinds of subforms, and so on, and how to link the buttons to the table row or section.

Help is very much appreciated!

Thank you


0 Replies


Level 10

Hi Maria,

Changing the visibility of an object can be achieved with a bit of script. If you are using the latest version of LC Designer ES2, then there is a feature called Action Builder (under the Tools menu). This can build the script for you, by just specifying what actions you want based on conditions. You don't have to use Action Builder, it just may help.

The property you need is "presence". This can be set, using script, to visible, invisible, hidden, etc. You can also set the default presence at design time in the Object > Field palette.

One important thing to remember is that for this type of dynamic behaviour, you need to save your form as a Dynamic XML Form in the save-as dialog.

In earlier version of LC Designer you will need to script it yourself.

This example ( shows how you can script to change an object's presence property.

This example works up from a static table, up to dynamic tables (Tables 4 and 5) and subforms (Table 6), Have a look at the buttons and the script in the click event.

Hope these help,


Assure Dynamics


Level 3

Hi Niall,

Thanks for your reply. The links you provided are great.

My task has changed so I have begun another topic so I could mark this answered. I hope you can help on that one as well!