[Erp5-dev] Validation of multiple fields on one form
    Mikolaj Antoszkiewicz 
    mikolaj at erp5.pl
       
    Wed Apr 16 15:41:15 CEST 2008
    
    
  
Hello,
I've just came across such an issue:
I'm trying to validate if a given user (actually a pair First+Last Name) 
was already saved (used) in the system.
Well, the problem is that I'd like to check both fields at the same 
time, but the validating script gets only a field value from the field 
it's attached to.
I've used the Request object passed also to the validating script, to 
get both last and first name values, but it looks a bit ugly.
Is there any 'nicer' way of doing such a validation?
Mikolaj
    
    
More information about the Erp5-dev
mailing list