isiway
Member
Hello,
in a list of glues I have a filter I have a checkbox-element "Item XY" with 10 possible values to mark.
When filling out this filter I want a maximum of 2 checkboxes to be filled out otherwise it should not be possible to send the filter.
When I add just a simple javascript to the element "Choose 2 Items" like "alert ('message'); I can see that it is excuted in the form but not in the evaluation of the filter.
Question 1: How do I add validation to the filter?
Question 2:
When I mark f.e. 2 items of the checkbox like value 1 and value 2 the resulting query seems to be something like
select from glues where Item XY= value 1 Item XY=value 2.
Since the field Item XY is a dropdown multiselect element I need to find all glues which have
Item XY= value 1 AND Item XY=value 2.
How do I do that?
Thanks a lot,
Carola
in a list of glues I have a filter I have a checkbox-element "Item XY" with 10 possible values to mark.
When filling out this filter I want a maximum of 2 checkboxes to be filled out otherwise it should not be possible to send the filter.
When I add just a simple javascript to the element "Choose 2 Items" like "alert ('message'); I can see that it is excuted in the form but not in the evaluation of the filter.
Question 1: How do I add validation to the filter?
Question 2:
When I mark f.e. 2 items of the checkbox like value 1 and value 2 the resulting query seems to be something like
select from glues where Item XY= value 1 Item XY=value 2.
Since the field Item XY is a dropdown multiselect element I need to find all glues which have
Item XY= value 1 AND Item XY=value 2.
How do I do that?
Thanks a lot,
Carola