I have what I thought was a simple problem. I have a form connected to a Sharepoint list. I've included a feature where users can complete the form by selecting buttons. The "buttons" are actually just items in a different Sharepoint list for things like hair color and eye color. What I want to do is have a user select an item in a gallery that says for example, "Blue Eyes" and then have the datacard value in the form for eye color default to blue and so on with hair color, sex, etc. What I assumed would work is onselect on a gallery item: Set(varhaircolor,ThisItem.ChosenColor) and then the default of the datacard as simply varhaircolor.
This doesn't work and I guess it's wanting a text value and not a record value but I'm not sure how to fix this and make it work. Any help is much appreciated!