There Is A"List & Search
Type". In " Search Form "there are many fields and after
clicking the button the query is processed in the field of
type"Query". Appeals to the value of the fields is made through the
... WHERE id_region = " $uri -
Everything works fine! There was a
need to include a field of type "CheckBox" to be able to select
I did this, created a field with id=
"level_election", entered the necessary parameters:
Now there was a question how to
process it in SQL query?
After you click the button in the
URL bar, it looks like this (when you select Level 1 b Level 3):
if I understood your post correctly (it is a bit hard to follow due to translation) your basic problem here is that checkbox does not have a single string value, it has multiple values that are posted as an array of values - while what you need is a comma separated string. I would say you found the only way to make this work by yourself, you are converting an array to a string on the client side. Server side option would be to use some plugin that would run on event fired before values are processed, but don't know if any of the events available in Seblod fire early enough.