Forum Discussion

Erik Krane Langhaug's avatar
Erik Krane Langhaug
Copper Contributor
Jun 06, 2018

SharePoint new experience list item form breaks when validation errors occur

I am struggling with a list item form (NewForm.aspx) for a modern experience SharePoint list. What happens is that if I hit save without satisfying the field requirements, the browser's focus is stuck inside the first input field I place cursor in, with seemingly no way to escape. If I hit escape on my keyboard, the form (sidepanel) closes.

 

I have several fields which are mandatory, and two single line of text fields that have column validation formulas, one to validate input length, the other to validate that input value matches a hardcoded string value.

 

I am seeing the same effect in both Microsoft Edge and Google Chrome.

 

Attached a video recording in google chrome in which I demonstrate the issue. I am trying to click inside the other single line of text fields but focus is stuck inside the first one. I am able to toggle a yes/no field with the button. At the end of the video I press esc and it closes the sidepanel containing form, and I lose anything I've entered.

 

Any advice would be helpful

 

 

Resources