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 8462039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T14:03:27+00:00 2026-06-10T14:03:27+00:00

I have a form and it contains multiple input fields. What if i don’t

  • 0

I have a form and it contains multiple input fields. What if i don’t provide an id or name to each and every field. will that field be submitted with some default name or won’t be submitted at all.

This is just a query. No code involved.
Thanks

  • 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-06-10T14:03:28+00:00Added an answer on June 10, 2026 at 2:03 pm

    Form controls without names cannot be successful controls and will not be submitted.

    The value of a control without a name will not be included in the submitted form data.

    See HTML 4:

    A successful control is “valid” for submission. Every successful control has its control name paired with its current value as part of the submitted form data set. A successful control must be defined within a FORM element and must have a control name.

    or HTML 5:

    If any of the following conditions are met, then skip these substeps for this element … The field element is not an input element whose type attribute is in the Image Button state, and either the field element does not have a name attribute specified, or its name attribute’s value is the empty string.


    The id is irrelevant to the success of a control. Only the name matters there.

    The id is still important to include as it is the best way to associate a <label> element with a control (and has other uses via JS and CSS).

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

Sidebar

Related Questions

I have a content submission form that contains multiple fields for input, all of
I have a form with 2 divs that each contains a set of fields.
I have an edit form that contains multiple select fields with selected options. Is
I have a form element that contains multiple lines of inputs. Think of each
I have created a form that contains fields used to accept a floating value
I want to have a form that contains a table of fields and some
I'm trying to create a form that contains these multidimensional arrays: <input type=text name=cost[1][desc]>
I have embedded a ScrollView within a UIViewController which contains multiple text fields that
i have multiple search forms, for five different databases (tables) each form contains about
I have a form that contains a TOpenDialog component ( OpenDialog1 ) and a

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.