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

Fill header and cell table based on ComboBox selection


Level 5

Hi All.

In my form I have ComboBox and Table1:


And I would like if ComboBox selected value = AAA so in Table1 Header1 and Content1 will change value to AAA_Header and AAA_Content.

If ComboBox selected value = BBB so in Table1 Header1 and Content1 will change value to BBB_Header and BBB_Content.

If is it possible how it to do? I will appreciate for sample.


2 Replies


Level 10


You can achieve this, but both objects (Header1 and Content1 will need to be textfield objects and not text objects. If you don't want the user to be able to change these values, then you can set the textfield objects to Read Only, in the Object > Value palette.

The script in the exit event of the dropdown list would look like:

if (this.rawValue == "AAA") {

     Header1.rawValue = "AAA_Header";

     Content1.rawValue = "AAA_Content";


else if (this.rawValue == "BBB") {

     Header1.rawValue = "BBB_Header";

     Content1.rawValue = "BBB_Content";


The object references will have to match your form.



Level 5

Hi Niall. Your post is very helpful.  Thanks a lot.