Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Control 'RequiredFieldValidator1' of type 'RequiredFieldValidator' must be placed inside a form tag with runat=server.

Control 'RequiredFieldValidator1' of type 'RequiredFieldValidator' must be placed inside a form tag with runat=server.

Scheduled Pinned Locked Moved ASP.NET
sysadminhelptutorial
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hemant Garg
    wrote on last edited by
    #1

    Hello to every one, What this error means and how to solve this error... "Control 'RequiredFieldValidator1' of type 'RequiredFieldValidator' must be placed inside a form tag with runat=server. "

    S M R 3 Replies Last reply
    0
    • H Hemant Garg

      Hello to every one, What this error means and how to solve this error... "Control 'RequiredFieldValidator1' of type 'RequiredFieldValidator' must be placed inside a form tag with runat=server. "

      S Offline
      S Offline
      Sylvester george
      wrote on last edited by
      #2

      that means you need to add this attribute (runat=server) in your control.

      Regards, Sylvester G sylvester_g_m@yahoo.com

      1 Reply Last reply
      0
      • H Hemant Garg

        Hello to every one, What this error means and how to solve this error... "Control 'RequiredFieldValidator1' of type 'RequiredFieldValidator' must be placed inside a form tag with runat=server. "

        R Offline
        R Offline
        RepliCrux
        wrote on last edited by
        #3

        Go to the "Source" of your aspx file and add 'runat = "server"' tag to the RequiredFieldValidator. That should fix the problem.

        1 Reply Last reply
        0
        • H Hemant Garg

          Hello to every one, What this error means and how to solve this error... "Control 'RequiredFieldValidator1' of type 'RequiredFieldValidator' must be placed inside a form tag with runat=server. "

          M Offline
          M Offline
          manojch2
          wrote on last edited by
          #4

          The form tag missing from your code. the RequiredFieldValidator must be inside the form tag Like

          Place your Html and valdation related code here

          manojchilhate

          H 1 Reply Last reply
          0
          • M manojch2

            The form tag missing from your code. the RequiredFieldValidator must be inside the form tag Like

            Place your Html and valdation related code here

            manojchilhate

            H Offline
            H Offline
            Hemant Garg
            wrote on last edited by
            #5

            Thank you

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups