Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListI made listboxes in the search form but no result in search I made listboxes in the search form but no result in search
Previous
 
Next
New Post
5/7/2009 3:28 AM
 

I did it man thanks very much you were a great help to me , now only one thing remains how to include the country value in the search

 
New Post
5/7/2009 4:27 AM
 

I setup a page to demonstrate grouping: http://www.formandlist.com/Documentation/Grouping.aspx

There are still some more steps to go for your search form...

 
New Post
5/7/2009 5:31 AM
 

Ok. Let us split that solution from the grouping issue.

  1. Choose again Generate New,  Enable the Search option and generate the XSLT
  2. Look for the template "Searchform". Replace the input type text with the list box, but remain the name!
  3. Replace inde the template with matches /Udt:userDefinedtable
    <xsl:variable name="currentData" select="udt:Data[contains(*[name()=$searchColumns][1],$search) or contains(*[name()=$searchColumns][2],$search) or contains(*[name()=$searchColumns][3],$search) or contains(*[name()=$searchColumns][4],$search) or contains(*[name()=$searchColumns][5],$search)]" />
    with
    <xsl:variable name="currentData" select="udt:Data[udt:Country= $search]" />
 
New Post
5/7/2009 7:35 AM
 

Dear stefan

I applied your code it works but not the way i want , now only it searches by the country name neglecting the text, i want something like an ( and relation)  { if country="USA" && CompanyName="CreativeDesigns" then show this record}. 

Thank You Mr genius. 

 
New Post
5/7/2009 2:59 PM
 

I suggest to add a second variable $searchCompanyName, set it up like the other one. 

The filter term would then look like:
<xsl:variable name="currentData" select="udt:Data[udt:Country= $search and contains(udt:CompanyName,$searchCompanyName)] " />

The downside with that approach is that the search for company's name will be case sensitiv.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListI made listboxes in the search form but no result in search I made listboxes in the search form but no result in search


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out