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.

CDML Action Tag (-Find)

Featured Replies

Wading in deeper, as the saying goes........ any help will be appreciated!

I have checked all the documentation I have + the filemaker Techinfo database and came up dry. I am doing a (-find) action from a form in a web page and want only an exact matche. Is there an additional parameter I can use to accomplish this? Is there a good reference manual I can buy to assist me in the future.

Many thanks, Ray

Version: v6.x

Platform: Mac OS X Jaguar

If I were a betting man, I'd bet that you don't want the exact match, 'cause that's the basic/default I do believe.

I'd bet that you want the "field contents match".

There are several CDML examples in the Sample Files forum. I know. I've put them there. At least one of them uses the "field contents match" among other find variables.

If you don't want the "field contents match" you might be interested in contains or some of the other find variables (also in Sample Files demos). In addition to the Sample Files Forum you can refer to the CDMLRdb for many, but not all, things.

Have fun.

You can try this in your Form:

<input type="hidden" name="-op" value="eq">

Enter Search: <input type="text" name="myfield" value="">

A couple of other methods also exist. You will see them in Unable's sample files smile.gif

All the best.

Garry

  • Author

Good Morning Unable and Garry, many thanks for the information. I will now begin to dig into the Sample Files forum and the CDMLdb for the answers. What a "Treasure Trove" of information this forum provides!!

RoadRunner........... Ray

==================

  • Author

Update! I tried downloading Unable's files, but had a problem opening them. I also tried Garry's -op "eq" suggestion but am still getting finds that return "johnsmith" when searching for "johns" etc.

The Filemaker 6.0 Users Guide discusses using == for exact finds. this is what I want. How do I get this to execute through CDML??

Thanks for any assistance....... Ray

Try this:

<input type="hidden" name="myfield" value="==">

Enter Search: <input type="text" name="myfield" value="">

All the best.

Garry

  • Author

Bingo!! Garry, works like a charm! Many thanks, now I'll have to go and try to understand exactly why it works......... Roadrunner... Ray

Ray, what is the problem you're having opening, format or db files, and which demo? The format files were hand written in SimpleText. The demo is 5.0v3, which should be a drag and drop into 6.x

  • Author

Unable, I did a search on the Sample Files forum for your handle and came up with many finds, not sure which one I tried to open but will go back and find demo 5.03 and get back to you......... Thanks for following up........ Ray

  • 2 weeks later...
  • Author

Unable, I have tried the recommended procedure of dropping your downloaded php file on the Stuffit Expander icon. This does work and creates a folder with the demo htm and fp5 files. Thanks!

FileMaker Version: 6

Platform: Mac OS X Jaguar

Ray the only way I can think of is to add the == to the value of your input tag IE <input="text" name="fieldname" value="==" size="30" all that happens is that you get the == show up in the text input bopx on the browser. you could try experimenting by trying

<input type="hidden" name="field1" value="==">

<input type="text" name="field1" value="">

see if it dumps the hidden and user text into the search function?

hope this helps

FileMaker Version: 6

Platform: Mac OS X Jaguar

  • Author

Binka, thanks for your reply, Garry Claridge in a post above suggested using the "hidden ==" which works great!...... Ray

FileMaker Version: 6

Platform: Mac OS X Jaguar

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.