I have multiple select and 2 text fields for advance multiple search in Magento eshop. The text field 1 has the value "Price Low" and the 2nd "Price High".
I want to disable the submit button until the user fills in only with numbers in the text fields, whose IDs are: "searchbar
" and "searchbar2
".
My problem is that if nothing is filled in the text field and the user submits the data, it will query "Price Low" & "Price High" text fields in the result and it will mess with the other values ("brand
" etc).