Hello,
I’m using the JA Megafilter module on my homepage with three fields in this order:
- Keyword search field (text input)
- Zone (dropdown)
- Activity (dropdown)
The issue I’m having is with the keyword field:
If a user types a keyword (e.g. “plumber”) and then immediately clicks Search, the keyword is not taken into account — the filter ignores it and shows incorrect results.
However, if the user either:
- presses Enter after typing the keyword, or
- selects something in the Zone or Activity dropdown
...then the filter works as expected.
So it seems that if the user only types a keyword and clicks Search without hitting Enter or selecting any dropdown, the input is not validated.
Is there a proper fix or recommended workaround for this? Ideally, clicking Search should validate the keyword field automatically.
Thanks a lot for your help.