How to display textbox when selected specific value in a multi dropdown list

Certified Associate Developer

We are using an editable grid, we have a requirement where we need to display a textbox when a particular value (Other) is selected from the multi dropdown list other wise it should not display textbox. 

Please find the attached screenshot for requirement reference.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    Hello ,

    You need to have a column that has a textfield all the time and it can be Editable only when the Type of Organization has a value in it. You cannot completely remove the field or make it appear based on your dropdown value as you are trying to do this in a editable grid. Your grid will have a structure that will be predefined.

    Let's say you have five columns and three of them have values in the drop down and two don't. You are expecting the grid to have three columns in three rows and the other two will have only two, is that what you are asking for?

    If yes, it is not possible. You need to have a textfield instead all the time and make that readOnly when there is no value selected in your dropdown.

Reply
  • 0
    Certified Senior Developer

    Hello ,

    You need to have a column that has a textfield all the time and it can be Editable only when the Type of Organization has a value in it. You cannot completely remove the field or make it appear based on your dropdown value as you are trying to do this in a editable grid. Your grid will have a structure that will be predefined.

    Let's say you have five columns and three of them have values in the drop down and two don't. You are expecting the grid to have three columns in three rows and the other two will have only two, is that what you are asking for?

    If yes, it is not possible. You need to have a textfield instead all the time and make that readOnly when there is no value selected in your dropdown.

Children
No Data