ahaaften
Cloud Wanderer

Nintex Form does not resize with repeating section with date control

I am experiencing strange behavior in a repeating section. For some reason my form isn't expanding when I use a date control in my repeating section 🙄

 

This is the form with the repeating section without the date field. 

2021-06-29_112655.png

 

When adding a new row the attachments control moves down like normal.

2021-06-29_112657.png

 

After adding the date control to the repeating section the attachments control is overlapped and disappears. 

2021-06-29_112733.png

 

These are the settings of the control, which are default.

2021-06-29_113229.png

 

All ideas are welcome!

0 Kudos
Reply
4 Replies
kchaluvadi
Workflow Veteran

Re: Nintex Form does not resize with repeating section with date control

Hi,

I see some other control before the date control striked off, what is that control? Also try moving the DateTime control in the next row, it should work as sometimes the alignment of controls on the reapeating section control causes auto size issues of Nintex form.

0 Kudos
Reply
ahaaften
Cloud Wanderer

Re: Nintex Form does not resize with repeating section with date control

The other control is a default single line of text. I've moved the control around and made the section bigger. Unfortunately the outcome is the same. Also removing the single line of text control makes no difference. Only removing the date control seems to work.

 

2021-06-29_162912.png

 

 

0 Kudos
Reply
kchaluvadi
Workflow Veteran

Re: Nintex Form does not resize with repeating section with date control

Hi, try aligning the single line text box and date control with same left position in different rows.

And do you have any hidden controls on the repeating section?

0 Kudos
Reply
MegaJerk
Automation Master
Automation Master

Re: Nintex Form does not resize with repeating section with date control

This might sound strange, but could you add the following code to your Custom Javascript just in the Settings of the Form and see if it helps? 

NWF.FormFiller.Events.RegisterBeforeReady(function () {
  try {
    console.log("Attempting to load missing js file: 'NF.BaseDataAccessHelper.js'");
    NWF$.getScript(_spPageContextInfo.siteAbsoluteUrl.replace(/sites.+/, "") + _spPageContextInfo.layoutsUrl + "/NintexForms/JavaScriptStringHandler.ashx?" + "resourceType=jsfile&" + "fileName=NF.BaseDataAccessHelper.js&" + "culture=" + _spPageContextInfo.currentCultureName);
  } catch (e) {
    console.log("There was a problem loading the BaseDataAccessHelper using the JavaScriptStringHandler!");
    console.log("Your version of Nintex Forms may not rely on it, or there could be something configured incorrectly");
    console.log("If your Repeating Sections can Add Rows without breaking, then it's unnecessary.");
    console.log(e);
  }
});

 

I've ran into an issue where sometimes a particular file (NF.BaseDataAccessHelper.js) that is needed in Classic Forms doesn't load, which in turn leaves a particular variable undefined that the Repeating Section code relies on to differentiate between the Classic and Responsive versions of Nintex Forms, resulting in new rows being added partially / incorrectly as you have shown. 

The above code attempts to manually load the file, but I've yet to test this in any environments other than my own (where it absolutely works and solves this problem) so the millage may vary. 

Looking forward to your reply

0 Kudos
Reply