0
edits
Changes
no edit summary
var paramrs=new in_ssRecordSet();paramrs.addfieldnames("pageid,matchvalue");
var idx=paramrs.getnewrecnumber();
paramrs.addfieldvaluebyname(idx,"pageid",XXXXXX'''pageid'''); paramrs.addfieldvaluebyname(idx,"matchvalue",XXXXXX'''matchvalue'''); if (!SS_UTADuplicateCheck(false,'',0,XXXXXX'''entityid''','0','0',paramrs)) {
return false;
}
'''pageid''': can be found on the sign up page urlmatchvalue: field to validate. Ex. frm.email.value OR frm.cname.valuerecord: 30 for company, 40 for contact
'''matchvalue''': field to validate. Ex. frm.email.value OR frm.cname.value
'''entityid''': 30 for company, 40 for contact
Also, make sure you include the javascript file "/Ajax/uta/in_uta.js" on the page as well