Avatar

Level 4

 

Let me put it this way.

Does anyone have a sample that demonstrates following. When the forms is rendered, there are 3 subforms.

Suform1 has Textfield1

Suboform2 has 6 Textfields (Textfield2,Textfield3,Textfield4,Textfield5,Textfield6)

Subform3 has Button1

If value entered in TextField1 is bigger then 4, every time when I click on Button 1, I want to:

add instance of Subform2 ,

hide Textfields2 and TextField3 and set widths of TextField4 to 9in.

When I click Button1 for the first time, it works as expected. When I add instance every other time, I hide Textfields2

and TextField3 but the width for TextField4 is unchanged.

Thank you,