axaptax++microsoft-dynamicsdynamics-ax-2012ax

Changing Default value of Checkbox in Ax2012


For a check box I am trying to set the default value to checked.

I set the value in the properties to 1
Didn't appear checked by default.
Restarted AOS, did Full compile and CIL generation.
Still no luck.

Any Ideas what I am missing?


Solution

  • Try inputing the value to 1 in the run method or classDeclaration with the FormCheckBoxControl method.

    [checkbox value] = FormCheckBoxControl.checked(1);