I have a table with several fields that act like filters. All fields have the same class and are empty by default.
Is there a way that I can only allow one of these fields at a time to be active and disable all others at the same time ? What I want to achieve is that you can only fill in one field at a time, i.e. if you fill in one field then the others get disabled and when you empty this field again the others get reactivated.
My thought was to add a temporary class while entering data but I couldn't get this to work.
My fields all look like this:
<input type="text" class="inputFilter" id="input1" name="input1" value="" />
Many thanks for any help with this, Tim.