new (failing) test for Data.FormValidator dependencies

3 views
Skip to first unread message

Mark Stosberg

unread,
Dec 6, 2005, 1:50:27 PM12/6/05
to JSAN Authors
The current implementation of dependencies does not cover the case of
creating the dependency based on whether a particular value is present
for a field. Perl's DFV does this with a syntax like this:

dependencies : {

pay_type : {
Check : ['cc_num'],

}
}

I've written a test to confirm this is unimplemented here:

http://mark.stosberg.com/javascript/dfv-dependency.t.html

However, it seems my JavaScript-fu is still too weak to actually add
this functionality at this point.

Mark

Reply all
Reply to author
Forward
0 new messages