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
  1. Home
  2. Web Development
  3. Fill out a form dynamically?

Fill out a form dynamically?

Scheduled Pinned Locked Moved Web Development
question
4 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.
  • J Offline
    J Offline
    JohnnyNin
    wrote on last edited by
    #1

    Is there a way to fill out a web form by specifying values in the URL? Johnny

    J T P 3 Replies Last reply
    0
    • J JohnnyNin

      Is there a way to fill out a web form by specifying values in the URL? Johnny

      J Offline
      J Offline
      Jared Solomon
      wrote on last edited by
      #2

      You could use a querystring and the plug in the values from the querystring. Example: URL : http://www.yoursite.com?testparam=hello&testparam2=hello2 asp: i hope this helps Jared Solomon Programmer/Analyst

      1 Reply Last reply
      0
      • J JohnnyNin

        Is there a way to fill out a web form by specifying values in the URL? Johnny

        T Offline
        T Offline
        Todd Smith
        wrote on last edited by
        #3

        Only if you're hosting the form and you can add code to parse the parameters and fill in the form. Todd Smith

        1 Reply Last reply
        0
        • J JohnnyNin

          Is there a way to fill out a web form by specifying values in the URL? Johnny

          P Offline
          P Offline
          Paul Watson
          wrote on last edited by
          #4

          JohnnyNin wrote: Is there a way to fill out a web form by specifying values in the URL? I was going to reply that you can only do it via ASP (or some other server side language) and you would have to do it as Todd and Jared said above. However I found this library which lets you use JavaScript to access the QueryString which is totally awesome: Using Query Strings from JavaScript[^] The actual JS library file regards, Paul Watson Bluegrass Cape Town, South Africa

          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