简体   繁体   中英

please help how to validate user insert 12 character in field using atk

this is question about Achievo Atk Framework:

i need to validate a field.

if a fields is a must i just need to put AF_OBLIGATORY

fields must be been fill in 15 characters. if a user fill in less than that how to make a warning or message they have to fill in 15 characters.

NO,

but

when you are creating database we must select data type as varchar .

If you selected char type it occupy total size with null .

If you selected varchar type it will store how much string length at the dynamic time .

You need to setup a validate function

See the forum - http://forum.achievo.org/viewforum.php?f=2

and other resources at - http://www.atk-framework.com/wiki/ATK

Wayne

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM