On Jun 3, 11:31 pm, dlin <[email protected]> wrote:
> There is a field which I want user to enter different answer, or just
> keep in empty.

empty, or unique answer:

db.table.answer.requires=IS_NULL_OR( IS_NOT_IN_DB( db,
'table.answer' ) )

>
> I've tried by:
>
> db.table.field.requires=IS_NOT_IN_DB(db, 'table.field')
>
> But, it will failed, if the second empty field entered.
>
> How could I do the validation for this case?
> Is there any method?

Reply via email to