Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Changing the error message
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #3
RE: Changing the error message
I already have a custom modify field there Seabody; but it is currently working like this:

if I set a default value then there is no warning at all;
if I set no default value but field as required then I get the field name but no custom message;
if I set no default value and field not required (just everyone) with a modify message then I get only the custom message and that does not say which field it is;

What I am looking to achieve is that if I set the modify message and field to not required (everyone) then the field name error does not show but the modify error does. Is there a language file? Then I can just use the existing forum language prefixes to set the field name the way I am doing it on new thread and editpost rather than putting it all in the modify message.

This is the current modify message

Code:
<if intval({VALUE}) < 1 or intval({VALUE}) > 5 then> 
  You must enter a value between 1 and 5. 
</if>



[Image: leelink.gif]
MYBB1.6 & XThreads
04-25-2013 04:25 PM
Visit this user's website 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: