Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Changing the error message
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #4
RE: Changing the error message
If I don't misunderstand what you mean, maybe you can try something like this:
Custom Modify Error:

Code:
<if intval({VALUE}) < 1 or intval({VALUE}) > 5 then> 
  You must enter a value between 1 and 5 for the field "{$lang->my_field_1_name}".
</if>


Then in your langprefix_global.lang.php (depends on the language prefix for each forum(s)) file:

PHP Code:
$l['my_field_1_name'] = "This Field Name For This Forum";


04-26-2013 03:37 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Changing the error message - leefish - 04-25-2013, 10:58 AM
RE: Changing the error message - Seabody - 04-25-2013, 04:00 PM
RE: Changing the error message - leefish - 04-25-2013, 04:25 PM
RE: Changing the error message - RateU - 04-26-2013 03:37 AM
RE: Changing the error message - leefish - 04-27-2013, 04:25 PM

 Standard Tools
Forum Jump: