Hi, I created a web template and modified the HTML to add checkboxs in front of the rows. I did this using the table API.
When the user pushes the submit button I run a script to collect the selections.
I would now like to call another query with the user selections as a filter. If the user selected 10 or 20 materials I would like to call the query with these materials. I think it could be done using a command url, but don't know how to do this yet.
Can anyone help out?
Thanks!
Hi,
the easiest way would be to just do this via a correctly defined form
for each row create a checkbox with correctly defined names and values
<input type="checkbox" name="FILTER_VALUE_n" value="Yourvalue">
You then just have to fill the filter value in the value properties and increase n always by one
on the first row you also add a <form>-Tag with the required action
and close it at the last row of the table.The form tag should have the action defined; you can add also hidden input fields into the form for addtional parameters.
(You probably need a form anyhow. Because when the user checks for example 40 materials, you will get URL length restrictions)
Heike
Add a comment