Jump to content

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

Recommended Posts

  • Newbies
Posted

I'm new to CDML and would like to know the CDML code snippets that allow multiple 'OR' searches for the same field. eg. For a field "Car Manufacturer", I would like to enter search values that returns records containing either 'Honda' or 'Volvo'. What are options for implementing this ? Would it mandate having two HTML text input fields that refer the same "Car Manufacturer" field.

Sorry if I've missed any solutions in the CDML reference or earlier posts on this forum.

Thanks very much in advance

Posted

From the "CDML Reference" database (Logical Operator -lop):

Find a record using a link

<a href="FMPro?-DB=db.fp5&-Format=rslt.htm&Country=USA+UK&-LOP=or&-Find">Find United states of America or United Kingdom records</a>

Find some records using a form action

<form action="FMPro" method="post">

<input type="hidden" name="-DB" value="names.fp5">

<input type="hidden" name="-Format" value="results.htm">

<input type="hidden" name="-LOP" value="OR">

Enter a country and click Find to see the results.<br>

<input type="text" size=12 name="Country" value="USA UK">

<input type="submit" name="-Find" value="Find">

</form>

Good Luck.

Garry

This topic is 7568 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.