Take user to missing required field

Hi, I’m new to this, so if i’ve missed anything, sorry!

So were currently in a jam, my partner ( the one that codes ) has created his own form for our site, it works as to highlightig in red if a required field has been missed, however we want the page to scroll back to where the missing field is located or where the first one begins ( if they have missed more than one ) and we cant figure out the code to do this.

Every site does this, so i’m hoping its simple and someone may be a godsend and have a code that will do this?

Much appreciated, thanks!

Have you coded the form in Wix Code? If yes you can add anchors and then scrollTo function to scroll to that anchor where that field is placed.