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,


Messages In This Thread
Multiple set_message with min_length rule??? - by El Forum - 03-29-2010, 03:31 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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