Hello, My Question is related to dynamic section creation. I have my

Hello,

My Question is related to dynamic section creation. I have my sections created based on user enters the data. So let say for One department if client has entered data for 5 sections, I want to display them just like 3 sections in firstcolumncontent and rest 2 in secondcolumncontent. So the section creation is totally dynamic and based on data entered by users.

While saving the data into database, I am also saving sectionorder (like 1,2,3..), now how I can write a code so I can have my sections distributed in first and secondcolumncontent?

Just a thought : totalcount(all sections)/2, if result is 0 data can be distributed to both columns and if result is odd, the other way around, but I am not sure how I can do that.

Any help/hint regarding this would be appreciated.

Attached mockup screenshot of sections entered by user.

Thanks!

OriginalPostID-211061

OriginalPostID-211061

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data