Form Tools
Validate on Custom field - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8)
+--- Forum: Form Validation: JS + PHP (https://forums.formtools.org/forumdisplay.php?fid=18)
+--- Thread: Validate on Custom field (/showthread.php?tid=5324)



Validate on Custom field - r.brandao - Sep 2nd, 2015

I need to create a field, the field should be inserted only a value between 18 and 70 , I do not know where to do it. Tried putting range = 18-70 in the Custom Function , the custom filed but did not work

Ty


RE: Validate on Custom field - r.brandao - Sep 3rd, 2015

Ok i think the code for my question is...

case "18_70_only":
if (form[fieldName].value && form[fieldName].value.match(/range=18-70/))
{
if (!rsv.processError(form[fieldName], errorMessage))
return false;
}
break;

But, were a put this? in the rsv.js? And how to use in a custum field? ty


RE: Validate on Custom field - r.brandao - Jan 28th, 2016

Lets go guys Up... any body help us?


RE: Validate on Custom field - Erna Huels - Oct 25th, 2021

I do concur with you this would be an astounding science reasonable challenge to isolate the direct individuals how they are influenced with caffeine. A couple visits https://essayreviewuniverce.com/bestdissertation-com-review/ for educational assistance as well as gets penniless of the caffeine. Consequently, it would be spellbinding for me to find a few solutions concerning these practices.