Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6071857
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:05:43+00:00 2026-05-23T10:05:43+00:00

im confused, the w3c validation service seems to be saying that asp.net cannot legally

  • 0

im confused, the w3c validation service seems to be saying that asp.net cannot legally render a hidden field inside a form tag on the page, have a look at this …

http://validator.w3.org/check?uri=http%3a%2f%2fmotcombegarage%2eco%2euk%2f

from what i can tell it seems to be saying that the following code sample is invalid markup WTF !!!

<html>
<head> ... header stuff ... </head>
<body>
  <form method="post" action="" id="ctl01">
    <div class="aspNetHidden">
      <input type="hidden" name="ctl09_HiddenField" id="ctl09_HiddenField" value="" />
      <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTY1NzEyODQ1M2RkJPtW5VtaL7LPuSxnn1JM1yVnOeGAovb8b4b3KShHy4M=" />
      <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWAwKt17cxAr+s9MgFAqjXzJsHz7KyzLpZjYtTK89blY7GgKAElK/5syvVNn4h7rVehcQ=" />
    </div>
     ... other code ...
  </form>
</body>
</html>

This presents 2 problems for me if the code is in fact invalid:

  1. This code is generated by the .net framework for handling postbacks so editing it could be a problem
  2. i have no idea what the valid context for a form field should be (lolz)

Is this a bug or have i done something wrong ???

EDIT:
As pointed out by Peter O below I added the missing div tag in my markup … comparing this to the markup that the validator uses shows that this div whilst present in the markup is apparently not worth validating … so that kinda changes the question to … why is it ignoring that div ? …

Seems a bit odd that you can’t put an input tag inside a form tag directly though … surely thats the point of a form tag, to contain input tags ??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:05:43+00:00Added an answer on May 23, 2026 at 10:05 am

    The only way I’ve seemed to get rid of the message, following the code on your homepage, is to assign a value to the first hidden input

    <div class="aspNetHidden">
    <input type="hidden" name="ctl09_HiddenField" id="ctl09_HiddenField" value="toverton" />
    <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
    <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTY1NzEyODQ1M2RkJPtW5VtaL7LPuSxnn1JM1yVnOeGAovb8b4b3KShHy4M=" />
    </div>
    

    In all liklihood, this is most likely a bug.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am learning cakePHP, everything seems alright except that I am very confused of
Confused about this...So I have a button that when clicked reveals a hidden div.
I'm kind of confused by this because it seems that Django templates have optional
Mildly confused. I have a combobox that is databound to a list of strings.
Totally confused here. I have a PARENT UIViewController that needs to pass an NSMutableArray
After reading W3C documentation on CSS3 selectors, I am still a little bit confused,
Ok, so I know that this seems like I am just being lazy but
Im confused with Service and Broadcast receiver.what is the relationship between these two?why we
Im confused regarding which scope should i use. Here i have a module, that
I'm kind of confused with this... My Uni's club website policy says that sites

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.