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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:50:19+00:00 2026-05-25T11:50:19+00:00

I have some disabled inputs in a form and I want to send them

  • 0

I have some disabled inputs in a form and I want to send them to a server, but Chrome excludes them from the request.

Is there any workaround for this without adding a hidden field?

<form action="/Media/Add">
    <input type="hidden" name="Id" value="123" />

    <!-- this does not appear in request -->
    <input type="textbox" name="Percentage" value="100" disabled="disabled" /> 

</form>
  • 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-25T11:50:19+00:00Added an answer on May 25, 2026 at 11:50 am

    Elements with the disabled attribute are not submitted or you can say their values are not posted (see the second bullet point under Step 3 in the HTML 5 spec for building the form data set).

    I.e.,

    <input type="textbox" name="Percentage" value="100" disabled="disabled" /> 
    

    FYI, per 17.12.1 in the HTML 4 spec:

    1. Disabled controls do not receive focus.
    2. Disabled controls are skipped in tabbing navigation.
    3. Disabled controls cannot be successfully posted.

    You can use readonly attribute in your case, by doing this you will be able to post your field’s data.

    I.e.,

    <input type="textbox" name="Percentage" value="100" readonly="readonly" />
    

    FYI, per 17.12.2 in the HTML 4 spec:

    1. Read-only elements receive focus but cannot be modified by the user.
    2. Read-only elements are included in tabbing navigation.
    3. Read-only elements are successfully posted.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a form with some inputs disabled. I want these inputs to be
I have some(more than 10) inputs in my HTML form. On initial state all
I have a form where some input elements' disabled property set to disabled .
I have some client-side JavaScript validation on a form. It works great. But I
i have a form that has many input fields. some fields of them are
I have a form with some select elements. One of them is configured so
I'm setting up a contact form, but I have some saved information in some
Let's say I have some Control that has been disabled. It contains a bunch
I have a checkbox which in some cases may be disabled and checked using
I have some arbitrary pixel data that I want to save as a PNG.

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.