Skip to main content
Known Participant
April 6, 2019
Answered

Element must be the ID of a non-hidden form control

Could someone please assist with the cause of these erro and provide a solution. Thanks in advance.

This topic is closed to new replies. Start a new post to keep the conversation going.
Nancy OShea
Nancy OSheaCorrect answer
Community Expert
April 6, 2019

The error message says it all.  You need a  label with a matching input ID.  The errors show you have names but no IDs.

<label for="UserName">What is your User Name?</label>

<input name="UserName" id="UserName" type="text">

Nancy O'Shea— Product User & Community Expert

1 reply

Nancy OShea
Community Expert
Nancy OSheaCommunity ExpertCorrect answer
Community Expert
April 6, 2019

The error message says it all.  You need a  label with a matching input ID.  The errors show you have names but no IDs.

<label for="UserName">What is your User Name?</label>

<input name="UserName" id="UserName" type="text">

Translate
Nancy O'Shea— Product User & Community Expert