DMXzone Database Updater PHP Support Product Page

Use a select ALL checkbox to delete all records

Asked 21 Jan 2016 21:55:07
1
has this question
21 Jan 2016 21:55:07 Hans Haverlach posted:
I followed the video about multi delete bij selecting checkboxes from multiple records and start a db execute behavior with a DELETE button.
Works great.

But since I have long lists, I created a checkbox on top that triggers a function to select al row checkboxes at once.
But when after all these checkboxes are selected (by function) I click the DELETE button I got this error message: "Parameter inst_id from form is required!"

So this does NOT happen if I hand select, but only when I use a function to select all. Somehow it seems if the DOM does not know they are selected.
How can we overcome this problem??

Please advice!
Thank you!

Replies

Replied 22 Jan 2016 08:20:20
22 Jan 2016 08:20:20 Teodor Kuduschiev replied:
Hello Hans,
Could you please provide a link to your page, where i can check how exactly did you implement this option?

Reply to this topic