Disable fields when custom query is filled

When custom SOLR or CSW query is filled, disable related fields in the form and reset theirs values.