Pass data to fill in form variables?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ryang
    New Member
    • Dec 2006
    • 2

    Pass data to fill in form variables?

    I'm sure this is an easy one for you old pros?
    I am using filemaker to browse some records, and I have created a button in my filemaker layout that launches a web browser with a certain url. Right know, I have to manually enter 3 numbers into 3 fields of a form on that webpage. Is there a way I could pass the info in the url so that when the page loads it will have the form already filled in with my data? I have figured out how to do this with some other websites that pass the information in the url (so I just end up at the page that I want, as though I pressed the submit button), but can not figure out how to do it when a webpage doesn't pass that data in the url. How can I skip this page and just get to the destination with my data sent along in the form's 'post' method?
    I'm sure I sound like a retard, but I am just a hack looking for a shortcut.
    1k thanks!

    The url that I need help with is here:


    and i think this is the html that I can't seem to figure out:

    Code:
    <form method='post' name='pageform' action='https://ttax.co.la.ca.us/secured_asp/vcheck_new/index.php?page=main&amp;SSID=r636gmbit671k3d4ji98lce363'>
            Enter <a href='http://ttax.co.la.ca.us/Proptax/Ttc/ttc/TTCAIDNum.html'>ASSESSOR'S IDENTIFICATION NO. (AIN)</a>
            <br />
            which consists of: Map Book, Page and Parcel.
            <br />
    
            <table class='aintable'>
    
                <tr>
                    <td><input type='text' name='mapbook' size='6' maxlength='4' value='' /></td>
                    <td><input type='text' name='page' size='5' maxlength='3' value='' /></td>
                    <td><input type='text' name='parcel' size='5' maxlength='3' value='' /></td>
                </tr>
                <tr>
                    <th>Map Book</th>
    
                    <th>Page</th>
    
                    <th>Parcel</th>
                </tr>
            </table>
            <input type='image' src='images/Search.gif' alt='Click Here To Search For Payment Status' />
        </form>
  • AricC
    Recognized Expert Top Contributor
    • Oct 2006
    • 1885

    #2
    I think if you add value="MyValue" to the input tags you will achieve your effect.

    HTH
    Aric

    Comment

    • AricC
      Recognized Expert Top Contributor
      • Oct 2006
      • 1885

      #3
      Sorry just noticed are you doing all of this work on the server side? What are you doing with this line:
      Code:
      <form method='post' name='pageform' action='https://ttax.co.la.ca.us/secured_asp/vcheck_new/index.php?page=main&amp;SSID=r636gmbit671k3d4ji98lce36  3'>
      Are you sure you want to send everyone to the same page?

      Comment

      • ryang
        New Member
        • Dec 2006
        • 2

        #4
        This is for personal use really. This page gives me property tax status for the entered parcel of land. Right now I have to manually enter the 3 fields and hit the submit button to get to the destination page. If I could avoid the manual entry, I could retrieve the information 10X faster (and then work on finding a way to automate the retrieval). I am thinking there is a way to modify the code and run the page locally so that I can pass the data via the url (of the local page). Does that make any sense?
        Thanks for thinking about this!

        -Ryan

        Comment

        • acoder
          Recognized Expert MVP
          • Nov 2006
          • 16032

          #5
          You can't do it the way you want to because it it's a post request.

          What you could do is an http request using a server side language, e.g., ASP, JSP, PHP, Coldfusion. In Coldfusion, you can use the cfhttp tag, not sure about the other languages. Then you could have a local page which has the variables in the URL and passes these as a post request. Then just display the result.

          Comment

          Working...