# U6L6 Field Collector App

**URL:** <https://forum.code.org/t/u6l6-field-collector-app/37215>\
**Category:** Coding and Debugging Help\
**Tags:** csd-unit-6-lesson-9\
**Created:** [November 9, 2022, 5:19pm UTC](https://forum.code.org/t/u6l6-field-collector-app/37215 "2022-11-09T17:19:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bboos](https://avatars.discourse-cdn.com/v4/letter/b/71e660/32.png) [@bboos](https://forum.code.org/u/bboos)\
**Post date:** [November 9, 2022, 5:19pm UTC](https://forum.code.org/t/u6l6-field-collector-app/37215/1 "2022-11-09T17:19:26Z")

</div>

My students have created apps that collect data. The examples have been helpful.  
Here is my question:  
Can you use the LeftButton and RightButton on the Circuit boards to collect data from different screens?  
For Example:  
If you are on the Animals screen, you choose Cats or Dogs with the onBoard buttons. Then you go to the Cars screen and choose Mustang or Corvette with the onBoard buttons. Once you are on the Results screen it gives you your results.

---

<div class="post-metadata">

**Author:** ![islanderjourney](https://avatars.discourse-cdn.com/v4/letter/i/f04885/32.png) [@islanderjourney](https://forum.code.org/u/islanderjourney)\
**Post date:** [November 10, 2022, 2:03pm UTC](https://forum.code.org/t/u6l6-field-collector-app/37215/2 "2022-11-10T14:03:29Z")

</div>

Yes. The best approach would be to create variables, then for each click, set that variable  
to whatever they clicked.
