Forums

Forums / Developing Portals / Filtering CRM Picklist

Filtering CRM Picklist

Thread is closed for posting
2 posts, 1 answered
  1. mbayes
    mbayes avatar
    17 posts
    Registered:
    29 Dec 2015
    09 May 2016
    Link to this post
    Just a quick question here:

    Is there any way to filter out values from an option set pulled from CRM? Right now I just have a script that runs when the field value changes and alerts the user saying "This is an invalid option" and then erases the current value. Ideally I would like the option that is invalid to not show up at all in the list.

    Is this a possibility?

    Thanks!
  2. Missing user
    Missing user avatar
    Answered
    10 May 2016
    Link to this post
    Hello,
    Filtering CRM Picklists is not supported out of the box. You can do it though on the client side using javascript. It sounds like you are already doing some validation and have a list of invalid options. You can hide the picklist  items that match the items in the invalid list.

    Kind Regards,
    Boris 
2 posts, 1 answered