Newbies jas Posted June 21, 2004 Newbies Posted June 21, 2004 Hi Everyone, I have a problem when I try to do something on the web search for FileMaker. The customer wants to have "2 search textboxes" on one particular field. However, when i try to use "-Lop = OR" in the HTML, it seems comes up with the search of all the "OR" results for that HTML page fields. I just wondering if someone can give me any idea or solution for this problem. Thx a lot if you can help me. Cheers, Jas
Garry Claridge Posted June 21, 2004 Posted June 21, 2004 Unfortunately, you cannot mix Logical Operators (-lop), nor can you apply them to particular fields. A way aroud it is to use [FMP-If] tags in the Format file. You may have to assign values to Tokens. Good Luck. Garry
Steve T. Posted June 21, 2004 Posted June 21, 2004 Hi, Jas! Of course, it's not very elegant and I'm not sure how particular your client is, but you could just have two forms and 2 submit buttons. This would not work for an AND situation, but since you were looking at OR anyway... it may be good enough. The client may not care that there are 2 submits... he/she may just want to make sure there are two boxes to search by. You could reduce the clutter and noticibility (word?) by using small GO graphics instead of submit buttons, too. (The web visitor would actually have to click on the submits, though, since there would be 2 forms and I think pressing RETURN would only work on one form.) --ST
Newbies jas Posted June 23, 2004 Author Newbies Posted June 23, 2004 Hi Guys, It's me again. I am thinking if it is possible to submit two find requests to the FileMaker Server with different values in HTML form? Thx a lot for helping me. Cheers, Jas
Garry Claridge Posted June 23, 2004 Posted June 23, 2004 Re: possible to submit two find requests No it is not possible. Besides doing this with [FMP-If] tags and Tokens, you can use Javascript. So a couple of ways exist. All the best. Garry
Recommended Posts
This topic is 7450 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