Sorry, I don't understand what you want to do ?
me neither, but i guess you want to make
sure that the user enters something in both fields as that the
two fields must be identically filled (re-enter email for example)
just add all the rules. you can just add as many rules to a
field as you wish.
a) make sure that the user enters something in both fields
-> addRule(.. required parameters here ..);
b) check if the address in both field are equal
-> add compare rule via addRule(.. compare parameters here ..);
clear now?
m