Skip to Content Skip to Menu

Change field validation error message?

12 years 3 months ago - 12 years 3 months ago #205486 by alankempster
Change field validation error message? was created by alankempster
I need a field on a registration form for a product serial number, so I've set up an integer field with min and max value field entry validation (to ensure it is a valid serial number). If an invalid number is entered, the error message gives the game away as to the permitted number range. Is there any way to make it simply say something like "Invalid serial number" instead? Maybe I need to validate it in some other way?

The error message I get when I enter 12345678 is "Serial number: Year 12345678 is not between [min value] and [max value]". YEAR? What's that all about?!
Last edit: 12 years 3 months ago by alankempster. Reason: wring topic icon

Please Log in or Create an account to join the conversation.

12 years 3 months ago #205544 by alankempster
Replied by alankempster on topic Re: Change field validation error message?
Got around this by using the database lookup field plugin instead.

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
12 years 3 months ago #205551 by nant

alankempster wrote: Got around this by using the database lookup field plugin instead.


Great - yes that's a nice usage.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum