17
Views
6
Comments
how to create a dropdown that when selected will display new input

Hallo, 

I have 1 dropdown whose contents are value1, value2, value3, value4 and value5, i want to make if value1 selected then display 1 input appear, if value2 selected then display 2 inputs appear too, etc. 

So initially the input is hidden and will appear when selecting in the dropdown according to the value selected.

I have 1 dropdown whose contents are value1, value2, value3, value4 and value5

dropdownLevel.oml
2025-08-13 09-41-37
Shubham Sharma
Champion

Hi Bayu,

Here is the updated OML with whatever I could understand, please do let me know. If needed any changes.

dropdownLevel.oml
UserImage.jpg
Bayu Ramdhan

thank you 

2020-11-25 10-45-32
Mostafa Othman
Champion

Hello,

I would suggest to use  static entity instead of normal entity in case number of levels is known.

In this case you can set visibility condition of containers of each textbox based on selected value.

Kindly find attached OML with some modifications

dropdownLevel_Modified.oml
UserImage.jpg
Bayu Ramdhan

thank you, my appreciated

2020-11-25 10-45-32
Mostafa Othman
Champion

You are welcome.

If any of mine or Shubham answers fixed your issue, please mark it as solution.

2024-05-08 06-29-37
Prince Aadil Khan Panwar

Hi bayu 

check this oml as well. hope this will help you.

example - click here

Regards,

Prince

dropdownLevelVisible.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.