我使用Joren Rapini 的验证码来填写我的在线表格。乔伦的网站
它允许您检查是否已正确输入电子邮件地址,但我有 2 个电子邮件地址要在表单中验证。
知道我会怎么做吗?
我试过添加 email = $("#youremail"); 以及当前在代码中的那个 email = $("#receiveremail"); 但它只适用于一个。
$(document).ready(function(){
// Place ID's of all required fields here.
required = ["youremail", "name", "receiveremail", "message"];
// If using an ID other than #email or #error then replace it here
email = $("#receiveremail");
errornotice = $("#error");
// The text to show up within a field when it is incorrect
emptyerror = "Please fill out this field";
emailerror = "Not a vaild email";
});