Forum Academy Marketplace Showcase Pricing Features

How to clear the Input field when I choose values in Dropdown list?

I have a dropdown list and below that I have a Input field .
The input field will be visible only if choose a first option in dropdown list .
The input filed will not be visible if i choose a second option in dropdown list.

My problem is that after choose the first option in the dropdown list I’m entering some values in the input field and when i change to second option in the dropdown list the input field is not visible but the data stored in the input field is not reseting to empty. But I want to get the input field cleared if I choose first option from second option in the dropdown list.

May I know how can i sort out this issue?

@pyrumtechnologies

Use the event when input value changes and set the condition to when the value is X (the first option in your dropdown)

1 Like

May I know How to do that?

@pyrumtechnologies