Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在调查中有两个字段,邮件和确认。
第二个字段只是为了确保我们的第一个字段输入正确,但我找不到允许我根据邮件字段检查确认的验证规则。
有什么建议吗?
假设第一个问题的问题代码是“邮件”,您可以在第二个问题的“问题验证方程式”字段中放置这样的内容:
this == mail
然后,在“问题验证提示”字段中类似这样的内容:
{if(this != mail, 'The email addresses do not match!', '')}