Тёмный

Validate Inputs, Warn Users, and Disable Buttons in Power Apps 

Shane Young
Подписаться 162 тыс.
Просмотров 32 тыс.
50% 1

Learn how to create effective user experiences in Power Apps by validating input fields, displaying warning messages, and controlling button states. In this comprehensive tutorial, we will demonstrate various techniques for managing user interactions in your Power Apps Canvas App. Whether you are a beginner or an experienced Power Apps developer, this video will help you enhance the functionality and usability of your app. Don't forget to like, comment, and subscribe for more Power Apps tutorials!
IsMatch documentation learn.microsoft.com/en-us/pow...
Chapters:
0:00 - Introduction
0:48 - Demo of the solution
2:05 - Understanding IsBlank vs. IsEmpty for input validation
3:42 - Controlling button state with DisplayMode property
5:11 - Indicating required fields with an asterisk (*)
5:45 - Why hiding buttons is not recommended
6:55 - Using IsMatch for pattern validation
9:02 - Displaying warning messages when inputs don't match
11:03 - Implementing DelayOutput for improved user experience
12:18 - Validating Dropdown controls
13:50 - Using OnChange event for real-time validation
16:54 - Applying complex logic to control button state
18:59 - Fail Fast: The importance of timely feedback in validation
#PowerApps #CanvasApp #InputValidation #ButtonControl #UserExperience #PowerAppsTutorial
Power Apps Consulting and training at www.PowerApps911.com

Наука

Опубликовано:

 

8 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 55   
@dougydoe
@dougydoe Год назад
The timing is just impeccable. Right in the middle of a project and this has given me more ideas for validating input fields. Yes, the IsMatch video is needed, Shane... Thank you
@ShanesCows
@ShanesCows Год назад
Thanks Douglas and good luck!
@chrisundery6132
@chrisundery6132 Год назад
Great as ever Shane. Literally had an accidental entry the other day as the user missed a field that should be set to mandatory. Can now easily fix. Keep them coming.
@ShanesCows
@ShanesCows Год назад
Thanks Chris! 😎
@jonathangagnon7652
@jonathangagnon7652 Год назад
The timing on this is great! I'm trying to control data being put into a PowerApp and visualizing it in PowerBI...well timed. And your answers are more useful than ChatGPT (Yup, I used it as an aide) And yes, please, an in-depth isMatch video would be appreciated.
@oluwatobipaul6171
@oluwatobipaul6171 Год назад
Thank you Shane. This really refreshed my memory on data validation
@ShanesCows
@ShanesCows Год назад
Cool
@franknielsen3219
@franknielsen3219 Год назад
IsMatch video - YES. And thx for another great video Shane :)
@ShanesCows
@ShanesCows Год назад
You are welcome Franks. Thanks for the feedback.
@manojroy8862
@manojroy8862 Год назад
Really, helpful video to understand the basics of controls and work to it, this would also help the freshers to understand the properties of the controls and how to implement it.
@ShanesCows
@ShanesCows Год назад
Thanks 🤩
@TracyOsimowicz
@TracyOsimowicz 11 месяцев назад
I would love an IsMatch video (and especially if it includes a very quick tutorial on regex expression syntax?) Appreciate all your work!
@ShanesCows
@ShanesCows 11 месяцев назад
Noted. In the meantime Tracy I would ask ChatGPT to help write your Regex expressions. It is pretty good at those types of things that us mortals have no clue how to do. 🙃
@ShanesCows
@ShanesCows 11 месяцев назад
@tracyOsimowicz - I am going to turn this comment into a video for Monday. You will be famous. 🤩
@TracyOsimowicz
@TracyOsimowicz 11 месяцев назад
@@ShanesCows Haha, oh my goodness! What an honor XD Happy Friday to me!
@frenamakenson9844
@frenamakenson9844 Год назад
hey Shane Thanks for sharing those Tips... very Usefull to make better UX
@ShanesCows
@ShanesCows Год назад
Happy to help. Have a great day. 🐶
@semajnitram
@semajnitram 5 месяцев назад
an ismatch video would be great (unless you've already done it, in which case thank you!)
@ShanesCows
@ShanesCows 5 месяцев назад
Great suggestion! I will put it on my list. Thanks
@GreyDob
@GreyDob Год назад
Another great video Shane, I just noticed you used AND and OR functions, didn't know that was working, I was still using the && and || 🙂
@ShanesCows
@ShanesCows Год назад
Always so many little things to learn. 😎 I
@dvk003
@dvk003 Год назад
Thank you Shane (one more time!!). I owe you the beer!!
@ShanesCows
@ShanesCows Год назад
Thanks Diego. One day we will meet, one day. 😎
@RoyAliKhairan
@RoyAliKhairan Год назад
Nice video as always--i always smile every time you correct your own words. Anyway, it seems i need your assistance here! I want to build an app to take care of the exit clearance process in my office. I do watch a lot of videos on how to build an app using this PowerApps but I still couldn't figure out how to make this exit clearance into the app. Any advice from you would be very much appreciated. Cheers!
@ShanesCows
@ShanesCows Год назад
Roy I am sorry, I don't follow what you are looking for.
@ophemtech
@ophemtech Год назад
I must confess that this is really an angel coming to my aid cuz i just hitted this validation problem. though if i had continued with using my head and tweaking things, i couldve gotten it but maybe not as better as you taught it here. but i really do have a problem, i seem to not be able to create a dataverse or sharepoint, and i still dont know why i can't create that, is it that i dont have access to do so or what do you think could be the problem. but anyways, thank you for these tutorials, its life saving
@ShanesCows
@ShanesCows Год назад
James do you need to add a connection to SHarePoint or do you need to go to SharePoint and create a site. Sorry, I don't follow what you mean by cannot create a SharePoint.
@ophemtech
@ophemtech Год назад
@@ShanesCows uhm the issue is, I haven't been able to connect to a SharePoint. And from your videos it seems you create a SharePoint site which I don't know how to do. So I'm clueless on how to do that as well as connect to dataverse created by me.
@ShanesCows
@ShanesCows Год назад
James from Office.com click on SharePoint and should be able to create a new site. This would be your own SharePont site. Then you could create a SHarePoint list there. Finally you would add that as a connection to your Power Apps app. I wonder if my free 101 class would help you with the basics? training.powerapps911.com/courses/power-apps-and-power-automate-getting-started
@ophemtech
@ophemtech Год назад
@@ShanesCows oh okay. Thank you for the help. I'd try this out
@ophemtech
@ophemtech Год назад
@@ShanesCows I don't know if I can reach out to you personally maybe by mail or Skype or something. Just in case I wanna deliberate or need a senior advice on how tos and best practices
@user-jn3qh2yo1w
@user-jn3qh2yo1w Год назад
Having great difficulty getting IsMatch to work correctly with a time in HH:MM format, I am using a gallery to both view and edit data in a SP List - any help would be appreciated.
@anthonyapodaca1332
@anthonyapodaca1332 Год назад
Yes! IsMatch with custom regex... maybe some help from AI friends
@ShanesCows
@ShanesCows Год назад
Like so? ru-vid.com3q-x9n16wD8 😎 Thanks for the reminder.
@juliennunes814
@juliennunes814 Год назад
Great video! Though since the lblWarnEmail only shows up when the email is invalid and not blank, if the email is blank the user could actually click on the button Thats a demonstration so no one cares but it might surprises some people that copied pasted haha
@angelmingkem7275
@angelmingkem7275 Год назад
Hello from Indonesia... Really helpful video for me :) just learning the powerapp. Question, is it possible to record the data to Excel or Sharepoint?
@ShanesCows
@ShanesCows Год назад
Yes. If you are brand new I recommend starting with the free 101 class here training.powerapps911.com/courses/power-apps-and-power-automate-getting-started
@lwhite3225
@lwhite3225 6 месяцев назад
Great stuff! I use form.valid to set display mode for buttons. Does form.valid pick up IsMatch errors? Or do I need to add that to the button's display mode property? Not sure this makes sense to anyone but me.
@ShanesCows
@ShanesCows 6 месяцев назад
I haven't tried but I am going to guess that Form.Valid does not identify IsMatch errors as they are logic outside of the Forms own logic. My guess. :)
@josecarlosbenitezmeyer645
@josecarlosbenitezmeyer645 8 месяцев назад
Hi How can I validate that the new data be equal or greater than the data already stored in a data card ?
@zekeskinner3346
@zekeskinner3346 Месяц назад
Hey Shane, How would I disable a button with a form field instead of a table field. I am using powerapps to automate an application into a sharepoint list and I need to make it to where the data field that is required will not allow me to continue in my application without filling out that portion. I have tried the IsBlank and IsEmpty but neither are working.
@ShanesCows
@ShanesCows Месяц назад
Try this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-WlWT0lWTGU8.html
@sameerulhaq4066
@sameerulhaq4066 21 час назад
what if I want to add a comment that you need to add text to clciked submit?
@espiemar1661
@espiemar1661 7 месяцев назад
How do I find a required field that is not allowing the submission of my forms? I have combed each field, I have sorted my fields with tabs and they are only required when they are visible
@rebeccathorn-pena9108
@rebeccathorn-pena9108 Год назад
I'm needing to validate a date field by radio button choice. If the radio button choice = "No", date must be after today, if the radio button choice = "yes", date must be before today. Any help is greatly appreciated.
@ShanesCows
@ShanesCows Год назад
If((Radio.Selected.Value = "No" And datepicker.selectedDate > Today()) Or (Radio.Selected.Value = "Yes" And datepicker.selectedDate < Today()), "Good", "Bad") Something like that should get you started :)
@rebeccathorn-pena9108
@rebeccathorn-pena9108 Год назад
@@ShanesCows Thank you!!!
@sagaisaac
@sagaisaac 10 месяцев назад
how you create a popup when exist a error on datafield?
@jaspreetsingharora7070
@jaspreetsingharora7070 7 месяцев назад
Whole video please.
@ShanesCows
@ShanesCows 7 месяцев назад
Sorry, what do you mean whole video?
@jaspreetsingharora7070
@jaspreetsingharora7070 7 месяцев назад
@ShanesCows Sorry, I meant the whole video on if match topic.
@TessAlmond
@TessAlmond Год назад
Can anyone out there give me some insight into this issue? On Submit, it says that 'field_3" is required. all of the fields on the form have been completed, and none are named field_3. By default the MI field has Displayname: DataSourceInfo([@AccessRequests],DataSourceInfo.DisplayName,"field_3") Other fields likewise have display names of field_1, field_2 etc. But again, all fields have been populated, so this issue is baffling me.
@ShanesCows
@ShanesCows Год назад
Tess it sounds like your Data Source has a field named Field_3 and the data source is required. I would start by checking that. I assume it is SharePoint? That is a quick thing to check. If you find it then you can decide do you want to change the field in SharePoint not to be required or add the field to your form in Power Apps.
@TessAlmond
@TessAlmond Год назад
@@ShanesCows None of my fields are named 'Field_number" . The datasource (SP list) fields are appropriately named, as are the fields on the form. In PowerApps on this field and a few other fields, the DisplayName property of the datacard: DataSourceInfo([@AccessRequests],DataSourceInfo.DisplayName,"field_9") That is the only place I see reference to field 9.
@ShanesCows
@ShanesCows Год назад
Tess watch this video real quick. It will show you how to see your columns real names, you most likely imported from Excel and the system names are field_3 even though you think it is Department. :( ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-mwXnJUkTug0.html
Далее
Каха и суп
00:39
Просмотров 1,2 млн
Why are you NOT Using These 5 Microsoft 365 Apps?
25:27
Power Apps Buttons & OnSelect
10:45
Просмотров 53 тыс.
Saving Power Apps Data with the Patch Function
17:59
Просмотров 50 тыс.
Power Apps Barcode Scanner For Inventory Records
8:06
Power Apps Components - Mega Menu, Input, & Output
24:58
How to validate power apps edit form before submit
25:48
How to use Copilot AI to design UNIQUE Power Apps UIs
36:24