设置一个要求进入下一个屏幕应用程序的要求
我的应用程序的第一个屏幕包含一个文本输入,用户必须输入电子邮件地址才能继续。
我想将其设置为“@”的强制性字段,将是要识别的角色(时期”。
目前,除非文本输入中键入某些内容,否则我正在使用下面的一个不会让用户进入下一个屏幕(任何东西,不一定是电子邮件地址,因为我无法弄清楚它的代码)。
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用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.