Programaticly set select(checkbox) attributes
Permalink 1 user found helpful
Hi,
Im currently new to C5 and Im migrating from old website to c5, and stumble upon issue where i cant understand how to set programaticly page attributes specificly checkbox type.
As i need to check several checkboxes at the same time.
Im seting attributes like this
But my setting applies to only last setted value, in this only to 'My val1'
Im currently new to C5 and Im migrating from old website to c5, and stumble upon issue where i cant understand how to set programaticly page attributes specificly checkbox type.
As i need to check several checkboxes at the same time.
Im seting attributes like this
$Page->setAttribute('handler', 'My val2'); $Page->setAttribute('handler', 'My val1');
But my setting applies to only last setted value, in this only to 'My val1'