Announcements
Hi,
How can I set a variable (varSubmitStatus) to the value of a field (Submission_Status_DataCard) in the form I have open in edit view?
Many thanks,
Jesse
@LYNCHJL
Use
Set(varSubmitStatus, DataCardValue1.Text) // for Text field
Set(varSubmitStatus, DataCardValue1) // for Numeric field
Set(varSubmitStatus, DataCardValue1.SelectedDate) // for Date Picker
Replace DataCardValue1 with the DataCardValue number relevant to the the DataCard Submission_Status_DataCard.
Set the variable in the OnVisible of the Screen where the form is located:
Set(varSubmitStatus,Submission_Status_DataCard.Text)
You can also put it on a Button so when yo click, the variable will be available to be used.
------------If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
great, thanks!
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 community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 220 Super User 2026 Season 2
WarrenBelz 194 Most Valuable Professional
Mohsin Ali 150