Ticket #264 (new defect)

Opened 8 months ago

Last modified 12 days ago

byte-length validator

Reported by: karel Owned by: mpo
Priority: trivial Milestone: 0.5
Component: modules/kauri-forms Version: trunk
Keywords: Cc:

Description

The current length validator validates on the string length. When you want a length restriction because, say, your database type is varchar(255), length { max: 255 } isn't good enough when the user uses multi-byte charaters (e.g. the ☃).

Suggested solution: byte-length { max: 255 } (plus an optional 'encoding' parameter to specify which charset you want to check for).

Attachments

Change History

Changed 3 months ago by mpo

  • milestone changed from 0.4 to 0.4.1

Changed 3 months ago by mpo

  • summary changed from byte-lenth validator to byte-length validator

Changed 12 days ago by jgou

  • milestone changed from 0.4.1 to 0.5

Add/Change #264 (byte-length validator)

Author


E-mail address and user name can be saved in the Preferences.


Action
as new
 
Note: See TracTickets for help on using tickets.