cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
praneepradee
Frequent Visitor

Get captcha on the login screen

hey,

 

Could somebody tell me how to get the Captcha control onto the screen?

 

If the control isn't available. How do I go about it?

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions

Hi, 
Step 1: Set this code on OnVisible property of Catpcha Screen:

 

Set(captcha_var,Left(GUID(),8))

 

 Step 2: Use captcha_var in Text property of label
image.png
Step 3: Use input text to validate

If(Label18.Text=TextInput3.Text,Notify("Successfull login !!"), Set(captcha_var,Left(GUID(),8)) )

image.png
Manually Refresh Captcha
 Use same variable to refresh captcha
image.png

If this solves your problem, then please Accept it as Solution.

View solution in original post

3 REPLIES 3
sayyed007amir
Resolver II
Resolver II

 As i know, currently PowerApps not giving a option a show Captcha.
Alternatively you can do this:
Show GUID() function in a label and then validate as you want.
See image:
image.png

Best regards,
If this post helps, then please consider Accept it as the solution to help the other members find it more

Hey,

 

Thanks for the answer!

 

Can you please tell me how do i refresh it ? If the Customer has typed in the wrong captcha.

 

Thank you.

Hi, 
Step 1: Set this code on OnVisible property of Catpcha Screen:

 

Set(captcha_var,Left(GUID(),8))

 

 Step 2: Use captcha_var in Text property of label
image.png
Step 3: Use input text to validate

If(Label18.Text=TextInput3.Text,Notify("Successfull login !!"), Set(captcha_var,Left(GUID(),8)) )

image.png
Manually Refresh Captcha
 Use same variable to refresh captcha
image.png

If this solves your problem, then please Accept it as Solution.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,312)