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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T22:13:16+00:00 2026-06-09T22:13:16+00:00

I want to pass some fields (for example like name information) into a form.

  • 0

I want to pass some fields (for example like name information) into a form. I may not be the developer of this form though, so I am not sure how the page load or query strings are handled.

By doing some looking around, some web forms you can call text fields by their name attribute, and automatically set those fields. For example, SO does this. If you go to https://stackoverflow.com/questions/ask?title=THISISMYTITLE, the first field (the title field) will be filled out with THISISMYTITLE.

Another great example is redmine. In that case, I can set any one of the fields (even custom ones) to values through the query string.

Finally, there are tools like 1Password that do something like this on the Mac and Windows – where it stores passwords in a local database. You can have it launch your browser though, and place in the content.

For some reason, when I try to pass querystrings like this to some asp.net web apps I developed, the Page Load method seems to pass them by. It knows they are there (I can see them in the Request.QueryString object), but it doesn’t fill out the fields.

Is there a reliable way to do this, without having to ask the developer to update code? Why do some web pages allow this, and others don’t? It does not seem to relate to the browser either – IE and Chrome both behaved the same way.

Note – This is for me, passing fields to any arbitrary webpage by using query strings or something similar. This is not for accessing the fields on the web page itself.

  • 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-09T22:13:18+00:00Added an answer on June 9, 2026 at 10:13 pm

    This doesn’t happen automatically, you must explicitly set the values in your form reading the parameters in the QueryString. If SO and other websites seem to do this is because their code is looking for these parameters in the URL and populating the appropriate elements in the form.

    Something like:

    txtTitle.Text = Request.QueryString["Title"];
    

    And so on…

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

Sidebar

Related Questions

I'm playing with the flickr api and php. I want to pass some information
In my controller I want to receive some params like params[:test][:test_page] This code is
I want to pass some arguments to the my Javascript template in Rails3 application
I want to pass some values from my Game extends Activity to Screen extends
I am writing an android app. I want to pass some data across the
I want to pass around some values in an array that will always be
I want to pass an uninitialized object pointer to some method. Within that method
I want to pass '#' to the query string like ?page.aspx?someParam=1234#5 .
I have some code that creates a table like this: for($i=0; $i<$fields_num; $i++) {
In my android application I have some fields like MyButton a; MyEditText b; MySpinner

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.