Skip to main content

Check off checkbox with Macro

Answered

Comments

7 comments

  • Official comment
    Thomas

    Hi,

    Click($[$BOY_26.0.0]); works, the problem is the validation. The item is not there yet when the form is loading.

    Only way to do this is to add a IPT configuration and set a "Universal function" value to it that clicks the checkbox.

    I hope this helps.

    -Thomas

  • Ajay Audich

    Using it with a Validation when the form loads...

  • Rasmus Jensen

    Not needed at all. Just make it default in B1 Print and Deliveries Base config :-)

     

  • Thomas

    Even better :-)

  • Ildi Wileman

    Hi,

    when I try to apply Click to a checkbox as per above, it briefly checks and then unchecks the box.

    Click ($[$BOYX_2.0.0]);

    What am I meant to do differently?
    Many thanks,

    Ildi

  • Rasmus Jensen

    Most likely your Trigger is the issue then... It properly define to react twice... Check that 'Before Action combo' in B1 Validation os set to false

    Alternative I also think 

    Set($[$BOYX_2.0.0]|Y);

    Will work

     

  • Ildi Wileman

    Thanks Rasmus!

    With the Before Action changed from 'ignore' to 'false'

    - Click still doesn't work BUT

    -Set does!

    Many thanks!

Please sign in to leave a comment.