I've researched on this and found some scripts to limit number of selections, but they affect all checkboxes and I have multiple groups of checkboxes.
It's an EDIT post type form, and the group is created from a taxonomy. The psychologists should be allowed to pick only 3 from this groupe, but the other checkbox groups should be unaffected.
I tried inserting this code in toolset settings, but there are problems
1. I don't know what the "field" is, since this checkbox list is generated from a taxonomy, it doesn't work with the taxonomy slug, so what field is it, is it the title field of the taxonomy? And what's that called, it's the standard taxonomy title field.
2. How do I customize this code to prevent more than 3, instead of this that required a minimum.
Also, I was looking at this method hidden link it looks simple and it just prevents from clicking more than 3, but the issue with this, is that it - as far as I can see, would affect every form.
One last thing, is there a way to add "info/messages" in the form, like small notes to help with the fields?
The JS reference example link you shared is for frontend validation.
Can you please share problem URL and access details?
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.