Default value checkbox

cancel
Showing results for 
Search instead for 
Did you mean: 
Active Member II

Default value checkbox

Hi all,

 

This might be a very simple question but I'm struggling with it. I'm using APS 1.9 and have a form with a checkbox in it. How can I set up the checkbox to appear as "checked" by default? 

 

Thanks

1 Reply
Community Manager
Community Manager

Re: Default value checkbox

Hi @jose_leon_coupa 

There's no direct way of doing it, since the form control in OOTB pallett does not contain any option for default value:

you can do 2 things:

1. Create a custom form stencil, then create your custon checkbox field and add desired option for default value

2. If this is a one time thing, add a js code that looks for your form field id on load and changes its value to true.

Hope it helps.

Thanks to @abbask01 for this information.

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!