CodeIgniter Forums

Full Version: Multiple set_message with min_length rule???
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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,