Jump to content
  • 0

How To Filter Double Value In Webform


clateway

Question

I have a html block where i am showing custom URL's based on a category in a field. Problem is that i want to show every category only once but there are multiple products with the same categories. In my case this mean it shows multiple times the same categorie. 


 


I have  e.g. three products;


 


Product A category File Sharing


Product B category Backup


Product C category File Sharing


 


I have the HTML Block that shows the output


href="?User_ID=[@field:CP_Partner_Listings_User_ID]&CP_Cloud_Service_Listings_Subcategorie=[@field:CP_Cloud_Service_Listings_Subcategorie]">[@field:CP_Cloud_Service_Listings_Subcategorie]


 


 


 


Result is:


File Sharing


File Sharing


Backup


 


 


 


But it should be; (only one category)


File Sharing


Backup


 


 


How can i do this , can i do it in html (e.g. filter same fields like distinct option) or e.g. in a calculation field? 


 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
Hello!

If I understand correctly, you can use Cascading Dropdown or Listbox to filter categories.

A cascading dropdown or list box prompts users to select an item from a list of limited choices first. Each dropdown or listbox that follows provides only options that pertain to the previous selection. For example, if the first drop down asks an end user for their state, the next dropdown can ask for their city and dynamically offer only cities located in the previously selected state.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...