设置一个要求进入下一个屏幕应用程序的要求

发布于 2025-01-26 02:38:14 字数 367 浏览 2 评论 0原文

我的应用程序的第一个屏幕包含一个文本输入,用户必须输入电子邮件地址才能继续。

我想将其设置为“@”的强制性字段,将是要识别的角色(时期”。

目前,除非文本输入中键入某些内容,否则我正在使用下面的一个不会让用户进入下一个屏幕(任何东西,不一定是电子邮件地址,因为我无法弄清楚它的代码)。

If( IsBlank(TextInput1_4.Text) , Notify("Please enter your email address to continue!", NotificationType.Error) , Navigate('Main Screen',ScreenTransition.Cover) )

你们会推荐什么?

The first screen of my app contains a text input where the user has to enter an email address to continue.

I would like to set it as a mandatory field where "@" would be the character to recognize (a period "." would even make it more accurate).

At the moment, I am using the one below that will not let the user go to the next screen unless something is typed in the text input (anything, not necessarily an email address as I can't figure out the code for it).

If( IsBlank(TextInput1_4.Text) , Notify("Please enter your email address to continue!", NotificationType.Error) , Navigate('Main Screen',ScreenTransition.Cover) )

What would you guys recommend?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

冬天的雪花 2025-02-02 02:38:14

您可以使用isMatch(textInput1.text,match.email)

https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/functions/functions/function-ismatch

电子邮件包含在预定义的模式上。

You can use IsMatch(TextInput1.Text, Match.Email)

https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/functions/function-ismatch

Email is included on the Predefined Patterns.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文