Multiple set_message with min_length rule???

#1
[eluser]123wesweat[/eluser]
Hi there,

How can i set different messages for the min_length rule??
like
Code:
$val->set_message('min_length','field X must have a min. of 5 chars')
and
Code:
$val->set_message('min_length','field Y must have a min. of 60 chars')

regards,


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.