# On startup setting values in FlexRepeater

**URL:** <https://forum.inductiveautomation.com/t/on-startup-setting-values-in-flexrepeater/32305>\
**Category:** Ignition\
**Created:** [February 15, 2020, 9:26pm UTC](https://forum.inductiveautomation.com/t/on-startup-setting-values-in-flexrepeater/32305 "2020-02-15T21:26:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![weertske](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weertske/32/3353_2.png) [@weertske](https://forum.inductiveautomation.com/u/weertske)\
**Post date:** [February 15, 2020, 9:26pm UTC](https://forum.inductiveautomation.com/t/on-startup-setting-values-in-flexrepeater/32305/1 "2020-02-15T21:26:14Z")

</div>

I have a number of checkboxes that are within a FlexRepeater. The instances are created by a script. When the user first loads the view, I want all the checkboxes checked (selected). I am handling this via a delayed onStartup script using sendMessage. This approach works. However, when I navigate away from the view and then return it fails to check all the boxes. I can see the script flash checks into all the boxes, but they don’t “stick”.

Param passing for “selected” is set to bidirectional.
