How to allow only one value in Multiselect field in Sugarcrm using dependency or custom JS

Hello,

I have a multiselect field but I want to allow select only one value based on some condition like dropdown field. So I want to convert multiselct field into dropdown field based on certain conditions.

Parents
  • You can not modify field type on the fly, instead you can rebuild the dropdown list the way it become empty as soon as an option is selected.

    André Lopes
    Lampada Global
    Skype: andre.lampada
Reply
  • You can not modify field type on the fly, instead you can rebuild the dropdown list the way it become empty as soon as an option is selected.

    André Lopes
    Lampada Global
    Skype: andre.lampada
Children