Change default value attribute of soy checkbox

I'm using


and I need add value="true"(to override default value 'on') attribute to generated after soy proccessing input. And I don't know how to do it in soy. Can you help me?

When I tried to use 'extraAttributes' params to add 'value=true' to input I've got next html:

<fieldset class="group">
   <legend><span>Don't track anonymous</span></legend>
   <div class="checkbox" value="true"><input id="notTrackAnonymousUsers" class="checkbox" type="checkbox" name="notTrackAnonymousUsers" checked="checked"><label for="notTrackAnonymousUsers">Enabled</label></div>
   <div class="field-group">
      <div class="description">Don't track anonymous users.</div>

As you can see from html it added value="true" to div not to input. Maybe you know some work around?
My soy looks like follow:

{call aui.form.checkboxField}
                        {param legendContent: getText('ch.bitvoodoo.confluence.plugins.viewtracker.ViewtrackerSettingsConfigureAction.action.track.anonymous-users') /}
                        {param value: true/}
                        {param fields: [
                                                'id': 'notTrackAnonymousUsers',
                                                'labelText': getText('ch.bitvoodoo.confluence.plugins.viewtracker.ViewtrackerSettingsConfigureAction.action.track.anonymous-users.label-text'),
                                                'isChecked': $notTrackAnonymousUsers,
                                                'name': 'notTrackAnonymousUsers'
                        {param descriptionText: getText('ch.bitvoodoo.confluence.plugins.viewtracker.ViewtrackerSettingsConfigureAction.action.track.anonymous-users.desc') /}


0 answers

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published Tuesday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

398 views 6 16
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot