469,568 Members | 1,643 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,568 developers. It's quick & easy.

Pass data to fill in form variables?

2
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:
https://ttax.co.la.ca.us/secured_asp..._new/index.php

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

Expand|Select|Wrap|Line Numbers
  1. <form method='post' name='pageform' action='https://ttax.co.la.ca.us/secured_asp/vcheck_new/index.php?page=main&amp;SSID=r636gmbit671k3d4ji98lce363'>
  2.         Enter <a href='http://ttax.co.la.ca.us/Proptax/Ttc/ttc/TTCAIDNum.html'>ASSESSOR'S IDENTIFICATION NO. (AIN)</a>
  3.         <br />
  4.         which consists of: Map Book, Page and Parcel.
  5.         <br />
  6.  
  7.         <table class='aintable'>
  8.  
  9.             <tr>
  10.                 <td><input type='text' name='mapbook' size='6' maxlength='4' value='' /></td>
  11.                 <td><input type='text' name='page' size='5' maxlength='3' value='' /></td>
  12.                 <td><input type='text' name='parcel' size='5' maxlength='3' value='' /></td>
  13.             </tr>
  14.             <tr>
  15.                 <th>Map Book</th>
  16.  
  17.                 <th>Page</th>
  18.  
  19.                 <th>Parcel</th>
  20.             </tr>
  21.         </table>
  22.         <input type='image' src='images/Search.gif' alt='Click Here To Search For Payment Status' />
  23.     </form>
Dec 27 '06 #1
4 5555
AricC
1,892 Expert 1GB
I think if you add value="MyValue" to the input tags you will achieve your effect.

HTH
Aric
Dec 27 '06 #2
AricC
1,892 Expert 1GB
Sorry just noticed are you doing all of this work on the server side? What are you doing with this line:
Expand|Select|Wrap|Line Numbers
  1. <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?
Dec 27 '06 #3
ryang
2
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
Dec 28 '06 #4
acoder
16,027 Expert Mod 8TB
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.
Dec 28 '06 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

12 posts views Thread by Casey | last post: by
6 posts views Thread by juky | last post: by
9 posts views Thread by Michael | last post: by
10 posts views Thread by tshad | last post: by
14 posts views Thread by =?Utf-8?B?Umljaw==?= | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.