Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6520 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I am using fx.php and fmstudio. I am proficient in Filemaker, however am new to bringing it to the web.

I have created a search form using fmstudio based on two fields. I want to specify 1) a value is required for a particular field, 2) a min number of characters that are required for the field, 3) the search should show results "exactly" as input.

I appreciate any help

Thanks

Posted

Hi,

You can achieve this using JavaScript validation. Dreamweaver 8 has JavaScript validation built for text fields. The Validation can be set to nubmer of characters allowed to be entered as well as making sure a field has content. (Is not empty)

I would take a look at the http://www.fmwebschool.com/fmstudio.php Dreamweaver 8 Video Series that I created. It covers Dreamweaver and JavaScript Validation. You receive a free copy of these videos when you purchase FMStduio. Please email me at [email protected] if you did not receive a copy.

Also, we have a FMStudio forum with about 700 posts you might want to check out. It is full of great questions and answers at:

http://www.fmwebschool.com/frm/index.php

In Kindness

Stephen Knight

Posted

Hi Stephen,

Thanks a bunch. I got the dwvideos and it did help, and was really simple. However, I am still not sure how, or if it is possbile to do and "exact" criteria search.

For example right now, if a search is done online you can put in a partiall name, and you will get results from every record with that same partial name in that particular feild.

I would like for the search to be strict so that the results would be exactly as entered in the search field.

Thanks again for your help already, and thanks to allyson also. You guys are great

[email protected]

Posted

I'm glad that we could help! Yes certainly, just try using the operator and disable wildcards from the variable selector. Don't use "*" you will need to use the "==" operator.

In Kindness

Stephen Knight

http://www.fmwebschool.com/fmstudio.php

  • 1 month later...
Posted

Okay, I have got one more question. I am making progress with this, I promise, and I really appreciate your help.

I have got the search working as an "exact" search using the == operator. However, I am searching two fields.

I only want to return the results where both fields match exactly. For example, now when I search, if I get an exact match on one of the fields and a partiall match on the second field, it returns a result.

How do I create a search that will only return results where both fields make an exact match?

This topic is 6520 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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