Mighty-Mouse Posted October 5, 2007 Share Posted October 5, 2007 Does anybody know how to set the fmp field value to a either website or web-viewer ? also how to trigger the website's submit or search button ? even a heads up ? thanks, Link to comment Share on other sites More sharing options...
Delta Tango Posted October 5, 2007 Share Posted October 5, 2007 when you say trigger the submit do you mean through a script or something? that is not possible that i know of. if you just mean so that the user can interact with the web viewer, there is an option for that if you double click the web viewer in layout mode, you can set this. Link to comment Share on other sites More sharing options...
Mighty-Mouse Posted October 5, 2007 Author Share Posted October 5, 2007 (edited) you should check out the mbs plug in which you can set the web-site filed from filemaker field value and trigger web submit button from filemaker. kyle Edited October 6, 2007 by Guest Link to comment Share on other sites More sharing options...
aholtzapfel Posted October 5, 2007 Share Posted October 5, 2007 Most of the time, when using a webviewer, I bypass the submit by entering the submit string into the webviewer. (this does assume that the search or form submit request can be calculated within filemaker) Example (I use this to standardize addresses with usps.com, it bypasses the form and goes strait to the result) "http://zip4.usps.com/zip4/zcl_0_results.jsp?firmname=&address1=&address2=" & table::Address & "&city=" & table::City & "&state=" & table::St & "&zip5=" & table::Zip & "&urbanization=" Link to comment Share on other sites More sharing options...
Mighty-Mouse Posted October 6, 2007 Author Share Posted October 6, 2007 (edited) yes some websites like usps or fedex , you can get the result with url string method bypassing submit button. but many websites, url-string doesn't work i guess that is because it is hidden. what do we do if url-string method don't work ? according to todd geist from geist-interactive,inc , it is possible , if they do some custom work with their mbs plug in. but it cost a bit. i wonder if i know the input value , if i use post method , will it cause the website display result page or not ? anybody know about this ? regards, kyle Edited October 6, 2007 by Guest Link to comment Share on other sites More sharing options...
aholtzapfel Posted October 6, 2007 Share Posted October 6, 2007 scan the source code for the site, look for the submit command, you can often find the string there. The only exceptions I have come across are .asp pages. I have had success in using this method even if you don't normally see it. It works just as well if it's not hidden. Link to comment Share on other sites More sharing options...
Mighty-Mouse Posted October 6, 2007 Author Share Posted October 6, 2007 hi, the web site i'm browsing , if i look at the source i see submit thing. but i don't know how to put it togather to make it work for what i want. can you show us a sample ? or sample code ? thanks, Link to comment Share on other sites More sharing options...
aholtzapfel Posted October 6, 2007 Share Posted October 6, 2007 I can't, really, once you find the url string for a site. It works just like all other URL strings in a webviewer. You need to find the URL it is submited to like: http://zip4.usps.com/zip4/zcl_0_results.jsp? then you need to add the variables that are used like: firmname, address1, address2, ... (from my example above.) add the "&" between the variables, add the filemaker feilds for the values, and it should work. (I know this isn't really easy but it can be done, the hardest part is finding all the pieces in the html code, and from what you have told me the info is there.) Link to comment Share on other sites More sharing options...
Mighty-Mouse Posted October 6, 2007 Author Share Posted October 6, 2007 yeah. mine is the one of the worst kind that mixed with java script and all the hints are hidden. i guess web expert can only do some manipulation with java script to make it work. any way thanks for the help. regards, Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6175 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now