When we use 'notEmpty' and 'blank' model validation rules in cakephp? -


while doing validation..i question in mind "when use notempty , blank model validation rules?". goggled there no clarification. please clarify example.

thank in advance.

'blank' - must empty or whitespace characters.

'notempty' - cannot empty


all of information explained in cakephp book under "validation":

http://book.cakephp.org/2.0/en/models/data-validation.html


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -