This site uses cookies and similar technologies.

If you don't change browser settings, you agree to it.

I understand
6 Posts
25 days ago


I had to add a script to a dynamic checkbox field and was wondering why it was not working as the same script worked in a normal checkbox field.

So I compared the PHP scripts and found out that the relevant coding was not included in the dynamic checkbox field:

checkbox.php (line 261):

if ( $field->script ) {
parent::g_addScriptDeclaration( $field->script );

I added this snippet to checkbox_dynamic.php (after line 313) and now everything is fine.

Maybe someone can update this plugin so also other users can use this feature and a hard coding is not needed anymore.

Best regards, 


Get a Book for SEBLOD
1262 Posts
25 days ago
Level 1

I reckon would be best to head to Github a pull request:

Get a VIP membership