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

Hidden search using image map?

Featured Replies

I have an image of the US. When the user clicks on an area, I'd like a hidden search to be performed. Any ideas on how best to accomplish this?? Thanks You!

Hi Jeff, and Welcome to the forums.

Take a look at the file [color:"blue"] US State Buttons at FMFiles.com Click Here to Go It is 4th from the bottom of the page.

HTH

Lee

cool.gif

  • Author

Thanks. Actually, I have a pretty good image map of the US with clickable areas. I'm in need of the appropriate html or cdml to search a database when an area is clicked.

That would be in part of your Scripts. Check out the Open URL script step.

  • Author

Thanks. I'll check that out. Does it make a difference that this is all web-based? The image map is on a different web server. Clicking on an area should query the database for information on that area clicked, and return the info. via the format file. Can scripts be dealt with this way? (As you can tell, I haven't dealt much with scripting in FileMaker!)Thanks again.

Are you talking Map Quest?

  • Author

I've created a client-side image map and after researching a bit, figure I need to format a getURL command that will search the database and return the information according to a format file I've created.

I've found something similar to what I need at:

http://www.cs.sunysb.edu/~tony/364/recitation/database/databases.htm

  • Author

Thanks for the above ideas Lee. After much trial and error, it seems that the following url will conduct the searches obtain the results I need, where the imagemap is served up by FileMaker:

example:

<ahref="FMPro?-DB=NameOfDatabase&-Format=FormatPage.htm&-op=eq&FieldnameToSearch=ContentOfFieldToSearch&-find">This is a link</a>

Hi Jeff,

I am glad that my suggestions helped you in in some manner, however, please don't change the Subject Line of a Thread, but instead, make your thank you part of the Body of a Post.

TIA

Lee

cool.gif

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.