how to fix addinstance() regrouping information after saving the form?

Avatar

Avatar
Level 1
vancarrk
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile

Avatar
Level 1
vancarrk
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
vancarrk
Level 1

27-09-2018

I have a table in a form that includes First Name, Last Name, Address, etc. Under this table I have a button to add an instance of this form under it, when I am working with the form the addInstance() code adds it under and everything looks fine however, when I save the form, close it and open it back up all of the First Name fields are grouped together, all of the Last Name fields are grouped together, etc. and the only way to get the formation back is to use the delete button I've created which deletes one the of the entries while simultaneously regrouping the information in the correct order. Is there a way to get the information to stay in the correct grouping while keeping the form dynamic?

This is what I have currently when clicking the New Instance button

// this._consumer.addInstance(1);

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar
Validate 1
Level 4
mouslander
Level 4

Likes

23 likes

Total Posts

298 posts

Correct reply

27 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 4
mouslander
Level 4

Likes

23 likes

Total Posts

298 posts

Correct reply

27 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
mouslander
Level 4

11-10-2018

Can you send the file? mousland@gmail.com. I would like to see what the problem is. This should not be happening

Avatar

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
_Bruce_Robertson
MVP

27-09-2018

Hi,

What is the binding expression you have for the First Name, Last Name, Address fields, and the consumer subform.

Only the consumer subform should have the "[*]" part, the should be relative to the consumer subform.