11-29-2020 19:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-29-2020 19:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I know that there was a checkbox element for sdk 4, but is there one on sdk 5?
Answered! Go to the Best Answer.
Accepted Solutions
11-29-2020 23:54
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


11-29-2020 23:54
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Maybe. I haven't tried it, but consider this:
<link rel="import" href="/mnt/sysassets/widgets/checkbox.defs" />
<use href="#checkbox" value="1" />
Gondwana Software

11-29-2020 23:54
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


11-29-2020 23:54
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Maybe. I haven't tried it, but consider this:
<link rel="import" href="/mnt/sysassets/widgets/checkbox.defs" />
<use href="#checkbox" value="1" />
Gondwana Software

11-30-2020 08:15
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-30-2020 08:15
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Thanks! It is working great.
02-20-2021 16:19 - edited 02-20-2021 17:38
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-20-2021 16:19 - edited 02-20-2021 17:38
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi - thanks for this advice, changing the defs and the href did get rid of the errors in the simulator.
However I've still got problems
```

04-24-2021 12:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

04-24-2021 12:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Hello derekwilson, I am also trying to do something similar with the checkbox and I am running in the same issue. Have you found a solution? Thank you!
05-01-2021 16:01
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-01-2021 16:01
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi
Sorry to say I haven't found any documentation on the checkbox widget from the SDK and trying to guess what to do was too inefficient and also probably not supported.
In the end I reimplemented the checkbox functionality using the fitbit design assets.
I blogged about it here
http://derekwilson.net/blog/2021/02/25/porting-wrist-list-to-fitbit-os5
My app is open source so feel free to copy my code, if you make the implementation more generic I may even copy it back 🙂
https://bitbucket.org/derekwilson/wrist-list/src/master/Fitbit-os5/
Hope this helps
Derek

07-28-2021 10:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-28-2021 10:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi,
I was also looking for how to implement a checkbox for the Fitbit SDK 6 and found your answer.
Many thanks for that!
But it seems to me that the checkbox.defs widget is undocumented.
At least when I look through the official documentation from Fitbit in the User Interface Guide
I also found out there is a toggle component in a widget called /mnt/sysassets/widgets/toggle_switch.defs which also seems to be undocumented.
So my questions are:
1. Are there any other undocumented widgets for the Fitbit SDK 6?
Maybe there is a widget for radio buttons as well?
2. How did you know about the /mnt/sysassets/widgets/checkbox.defs widget?
Thx!

