ksivanandan
Novice

Re: How can I have my panel grow based on the repeating section's rows added programmatically?

Jump to solution

Thanks for your reply!

There are no errors. I took a snippet of my code, may be I missed something. 

As for the control's setting, I can't use prevent add/delete setting, because f I do that I can't add rows programmatically as well. 

Thanks

Kalpana

Reply
chaitra_b_c
Novice

Re: How can I have my panel grow based on the repeating section's rows added programmatically?

Jump to solution

Can you share the exported form XML to troubleshoot?

Reply
ksivanandan
Novice

Re: How can I have my panel grow based on the repeating section's rows added programmatically?

Jump to solution

I sure can! Thanks for working with me on this.

Reply
ksivanandan
Novice

Re: How can I have my panel grow based on the repeating section's rows added programmatically?

Jump to solution

I was able to add the form only to my initial post up top. 

0 Kudos
Reply
chaitra_b_c
Novice

Re: How can I have my panel grow based on the repeating section's rows added programmatically?

Jump to solution

Try zipping (.ZIP) the form definition .XML file and then attached

Reply
ksivanandan
Novice

Re: How can I have my panel grow based on the repeating section's rows added programmatically?

Jump to solution

I already attached it to my first post along with the javascript txt file - do you see it?

Reply
chaitra_b_c
Novice

Re: How can I have my panel grow based on the repeating section's rows added programmatically?

Jump to solution

Got it !

Reply
chaitra_b_c
Novice

Re: How can I have my panel grow based on the repeating section's rows added programmatically?

Jump to solution

Below are the steps performed to view the form and fix the repeating section scroll:

  1. Removed the script in the Custom Javascript and Custom Javascript Includes, because with this the form used to NOT load and used to show loading image
  2. On successful publish of the form, viewed the form in the browser with inspect element on the panel (which contained the repeating section) and increased the height from 509px to 651px. On increasing the height of this panel the scroll bar disappeared and worked as expected.
  3. Increased the same panel height to ensure the published form show the panel height above 651px. 

PFA updated form. Hope this helps! 

Reply
ksivanandan
Novice

Re: How can I have my panel grow based on the repeating section's rows added programmatically?

Jump to solution

Even if I set the height to 700, once I programmatically populate the repeating section, the scroll bar appears unfortunately.

Reply
chaitra_b_c
Novice

Re: How can I have my panel grow based on the repeating section's rows added programmatically?

Jump to solution

Can you inspect the repeating section panel with data populated and check for the CSS which is cause of the scrollbar to appear? Just like how I have mentioned earlier. 

Reply