Hi everyone
I have a Edit form saving to a Sharepoint list. My Title column which is a single line text, is in my form twice, once as a dropdown and once as a standard datacard. Then with a toggle I switch visibility between the two.
The Title column is used as a subcategory selector in my form.
My intent was when entering a new item, I could choose between selecting from the dropdown, but if I could not see the appropriate text I could toggle to adding a new value(or subcategory). But it seems that when submitting I can only have one or the other.
I hope that's clear
Hi Warren, I've been away from Power Apps for a few days, yes this works well thank you. Never even thought it was a possibility to have more than one input in a single datacard.
Hi @Corissandageri ,
Just checking if you got the result you were looking for on this thread. Happy to help further if not.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
You can put them in the same Data Card with the same visibility rules and change the Update of the data card
If(
YourTextBoxName.Visible,
YourTextBoxName.Text,
YourDropDownName.Selected.Value
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi,
When it comes to submitting your entry are you just using the SubmitForm Function? Assuming so, you might want to look into the Patch Function, which will give you much more control over what is updating what. Also if memory serves me correct, you may have some luck, looking to the Update property of the DataCards and adding logic in there to update based on the value of one control over the other.
Patch function - Power Apps | Microsoft Docs
WarrenBelz
146,609
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,946
Most Valuable Professional