Form Tools
Validate on Custom field - Printable Version

+- Form Tools (
+-- Forum: Modules / Other (
+--- Forum: Form Validation: JS + PHP (
+--- 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


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;

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 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.