Hi everyone i have list of products which any user can chose by clicking a checkbox. I would like to allow users to select all the products once at a time by clicking the “select all” button. My checkboxes are connected via a database only
Could someone help me with this please ?
Hi,
You can change a checkbox’s state by using the .checked property, check out the API here .
Notice that if you want to save the checkbox’s value to a collection you need to use the setFieldValue () function.