# AnyThoughts on how to Streamline code when using color changing buttons and dynamic labels and buttons

**URL:** <https://community.thunkable.com/t/anythoughts-on-how-to-streamline-code-when-using-color-changing-buttons-and-dynamic-labels-and-buttons/392102>\
**Category:** Questions about Thunkable X\
**Created:** [January 5, 2020, 3:37am UTC](https://community.thunkable.com/t/anythoughts-on-how-to-streamline-code-when-using-color-changing-buttons-and-dynamic-labels-and-buttons/392102 "2020-01-05T03:37:47Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [January 20, 2020, 7:06pm UTC](https://community.thunkable.com/t/anythoughts-on-how-to-streamline-code-when-using-color-changing-buttons-and-dynamic-labels-and-buttons/392102/11 "2020-01-20T19:06:59Z")

</div>

I’ve started a new demo app that includes some of this functionality @jared .

Users can create profiles which include their user name, profile picture and dietary requirements (for example)

 ![Screenshot_20200120-104734](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/6/f64344f285bd81306aafbefc3120c572ee546510.jpeg)

There’s no input validation yet, but I’m just sharing this as an example of using the Any Component blocks to create the multiple choice buttons you mentioned:

[https://x.thunkable.com/copy/f21a68957395bf9aa24fd62a0b141c5e](https://x.thunkable.com/copy/f21a68957395bf9aa24fd62a0b141c5e)

These are the blocks for setting an “active” diet (or surveying format in your case)

 ![Screenshot 2020-01-20 at 10.52.31](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/a/0ae7fe3ceeb40e7466ebed47b37f4c549c1c1a0f.png)

Then you can create a new user object and save this information along with their name, profile picture etc.

 ![Screenshot 2020-01-20 at 10.55.00](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/7/875afb443a84b660981dd060eaaa720177626dd4.png)

---

_[View the full topic](https://community.thunkable.com/t/anythoughts-on-how-to-streamline-code-when-using-color-changing-buttons-and-dynamic-labels-and-buttons/392102)._
