Hi!
I have a form with related checkbox,
the checkbox contains records from another table (mysql) and I need to hide one of them.
is there any way to do this?
Hi!
I have a form with related checkbox,
the checkbox contains records from another table (mysql) and I need to hide one of them.
is there any way to do this?
You can hide it in jQuery or modify the SQL Select statement to exclude it
will you have an example that you can provide?
Wich one, jQuery or SQL
can you share both? I canβt find where to modify the sql
in onScriptInit, get the checkbox ID with inspect, this example will hide the second box
?>
<script>
$(document).ready(function() {
$(β#id-opt-groups-1β).hide();
});
</script>
<?php
or SQL
This example will remove group with id 3
thank you very much jlboutin60! both worked for me