Hello Everyone,
I am new to Power app and if someone can help me out will be really helpfull.
I have created a login page. I have a email-id field and password field. I have 2 buttons "Clear" "Login"
I have to add validation to each textinput field. I have created a dataverse table with same name as it is show here. Email and Password
Login button code is:- If(!IsBlank(LookUp(Admin,Email=TextInput2.Text&&Password=TextInput3.Text).Email),Navigate(Success,ScreenTransition.Fade),UpdateContext({ShowForgetMessage: true });Notify("Incorrect Login Details",NotificationType.Error));
I have inserted a icon near input textbox and I want:-
1) If I input an email which is present in dataverse table with extact same word then only it should show check icon else it should show cancel icon
Currently I have use this code
this is the output I get any mail id with @ and .com is accepted but this should not be accepted becuase the above email id is not present in the database
2) I want to add case sensitivity also to password field
If anyone know please help me out
Thanks in advance
@Anonymous, EDITED: IsMatch need a constant value (Forgot about that)
Your comparison values should be Text and you can use the If Statement once you have them as text.
If(Text1=Text2,true,false) << this will be case sensitive.
Hello @AhmedSalih ,
Thanks for replying for my query.
Yes it worked but It is still not case sensitive. Can you please help me out with that as well?
I want case sensitive special for password field.
Hello, @Anonymous, in the Icon property use this formula instead:
If(!IsBlank(LookUp(Admin,Email=TextInput2.Text),Icon.Check,Icon.Cancel)
MS.Ragavendar
32
Michael E. Gernaey
24
Super User 2025 Season 1
WarrenBelz
18
Most Valuable Professional