Announcements
Good evening ,
Can you help me? I am making a form which should have a single button to scan the products and it is recorded according to the text field that you select. I already created it but I don't have the function to make it dynamic based on the selection of the text box.
Hi @Nicolas1190 ,
On the OnSelect of the Text Boxes, set a Variable (example)
UpdateContext({varSelected: "Candidad1"})
Then the Default
If( varSelected = "Candidat1", ScannerName.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.
Visit my blog Practical Power Apps
Hello Warren, thanks for answering, but I have established the variables in the 2 text boxes in the Onselec function, but when selecting the product scanner button, it continues to scan the 1st product.nothing is recorded
Did you check the value of varSelected ? It should go in the correct box assuming your Defaults are set as well.
Just checking if you got the result you were looking for on this thread. Happy to help further if not.
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 474
WarrenBelz 375 Most Valuable Professional