Announcements
Hello,
I have two text input boxes(datacards), "Name" and "Firm". I want the value of these to populate new rows on a SharePoint list, after pressing a button. How can this be done ?
@fishbicki
Put this code in the OnSelect property of a button. It will insert a new row in your SharePoint list with the data.
Patch( your_datasource_name, Defaults(your_datasource_name), {Name: TextInput_Name.Text, Firm: TextInput_Firm.Text} )
---Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Works wonderfully, thank You!
And a new question came - How in addition can that button clear the text fields after pressing it ?
or maybe an OnVisible sytax for the screen that resets the fields ?
*got it, in OnVisible: Reset(TextInput_Firm);;Reset(TextInput_Name)
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 899
Valantis 571
11manish 499