Hi again! I'm working with custom validations and I noticed the standard function may receive (value, param) and I'm wondering how to send the param value from the "Validation rules" box in the field settings...
...or maybe multiple vars for the function to handle?
face-meh-blank
...or maybe multiple vars for the function to handle?
face-meh-blank
Following, because I'm interested in the answer.
This is what I found out. In the field validation rules you can pass parameters this way:
so if you have for example the user id saved in lets say "php22" you could do something like this:
that's it!
fncustom['anything']:validation message.
so if you have for example the user id saved in lets say "php22" you could do something like this:
fncustom[{var:php22}]:validation message.
that's it!
This topic is locked and no more replies can be posted.