Hi,
I have a form with checkboxgroup with 3 checkboxes, and 3 text input fields, which are hidden.
When the user ticks each checkbox, the corresponding text field should be shown.
I know how to do it with a single checkbox, but I didn’t find out how to do it for a checkbox inside checkboxgroup .
This is how I implement it for a single checkbox: (if there is a better implementation I would like to hear)
export function checkbox1_change(event) {
$w('#checkbox1').checked ? $w('#input10').show() : $w('#input10').hide();
}
Thanks!