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

SOLVED

dynamically add fields at runtime

Avatar

Level 4

Hi Experts,

Is it possible to add fields in the form layout at runtime. say at the click of a button similar to Acro Forms where we have addFields(), and deleteFields() methiods. InstanceManager can add subforms but is it possible to add fields at runtime.

Regards.

Rohit

1 Accepted Solution

Avatar

Correct answer by
Level 10

Subforms by themselves do not do nuch ...they contain content (like fields) so when you add a subform you are infact adding the content within the subform. So to answer your question, you cannot dynamically add a field but you can indirectly add a field by adding a subform.

Make sense?

Paul

View solution in original post

0 Replies

Avatar

Correct answer by
Level 10

Subforms by themselves do not do nuch ...they contain content (like fields) so when you add a subform you are infact adding the content within the subform. So to answer your question, you cannot dynamically add a field but you can indirectly add a field by adding a subform.

Make sense?

Paul