0

one specific requirement in which content editor needs to choose properties by state. I have properties with states field. Now I am planning to create the user-defined template for a content editor to choose properties based on the state.

How to add property filtering in template based on the selected state in the drop-down?

4
  • I assume you want to filter a field based on the selected state? If so, with Sitecore OOTB, there is no way to filter fields being displayed based on external factors. Commented May 17, 2018 at 15:07
  • is it possible to search property name in the template? I tried multi-list with the search but am not getting expected result.
    – sindu
    Commented May 17, 2018 at 15:13
  • If I have understood well, you want to have a set of properties available based on the selected state? Commented May 17, 2018 at 19:25
  • For this particular requirement, if you want to use WFFM or custom form you can try nice article from Sitecore: doc.sitecore.net/web_forms_for_marketers/80/… Commented May 18, 2018 at 18:11

1 Answer 1

1

For such solutions we used a solution by Dan Cruikshank: https://getfishtank.ca/en/blog/using-item-field-as-a-data-source-in-sitecore

The DataSource of your Dropdown would be the path to your 'states' and the other field will show the filtered 'propterties'.

You first have to select a 'state', save the item and you will get a selection of the available 'properties'.

Hope this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.