Quickform - order of applyFilter() and addFormRule() ?
| From: | Christian Luszick | Date: | Sun, 15 Jan 2006 14:53:30 +0000 |
| Subject: | Quickform - order of applyFilter() and addFormRule() ? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-22540@lists.php.net to get a copy of this message | ||
Hello,
I use a custom validation rule function. My question is, what is the order of precessing QF goes?
a) fixed order?
1) assign filter
2) check custom form rule / rules
b) depends on the order you code it?
I change a filename, to make it save to be written to a filesystem. But I want to verify this new name is not already used. So far my rule function works, but it seems not to use the *filtered* submitted value ...?
--
christian luszick