Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Oct 2002
    Location
    Oakland, CA
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    form contents accesible?

    Hi,

    Complete newbie here, so any help is much appreciated.

    Is it possible to determine the contents of a form field prior to actually submitting a form?

    For example, say I have a form that gathers property info such as house number, street name, city name, etc...

    Is it possible to gradually build a querystring with elements of a form (to use in a hyperlink), as the values for each field are entered?

    Thank you,
    hyefive

  • #2
    Regular Coder
    Join Date
    Nov 2002
    Posts
    596
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hyefive -

    hey, it's 2003 - everything is possible.

    Since building a querystring is exactly what an HTML form (method=get) does for you, automatically, the obvious question is: why do this programmatically (JS)?

  • #3
    New Coder
    Join Date
    Oct 2002
    Location
    Oakland, CA
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Aha! I wish there was a way to push through the blur and into the light of "everything's possible".

    Thank you for the prompt reply.

    My problem with using method=get is that this little subtask of mine is within another form. Like this:

    This form collects a bunch of property info, as described. If the user entering the info doesn't know the property's zip code, I need to provide a link or something so they can click on it and determine the zip. Like a link to Yahoo Maps or MapQuest or something with querystring attached that has the house number and street name and city name in it so they don't have to re-enter the fields over again.

    Does that make sense?

    Thanks again,
    hyefive

  • #4
    Regular Coder
    Join Date
    Nov 2002
    Posts
    596
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Not an expert on this - but I know of others who have used the Postal Service's own Web Tools service to handle address lookups (including zipcodes). I'd guess their database is pretty detailed - jeez, you'd hope so - and their interface is probably user-friendly. More at http://164.109.64.170/front2.asp (login required).


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •