Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Set fmp field value to webviewer

Featured Replies

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,

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.

  • Author

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 by Guest

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="

  • Author

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 by Guest

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.

  • Author

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,

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.)

  • Author

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,

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.