[ic] auto-wizard: multiple check <SOLVED>
peter at pajamian.dhs.org
Wed Jun 13 19:42:05 EDT 2007
On 14/06/07 05:38, Ton Verhagen wrote:
> Quoting Ton
> At 04:42 PM 6/13/2007, you wrote:
>> Dear All,
>> Would it be possible to use two or more checks for a field
>> whilst using the auto-wizard tag?
>> I need a field to be required and unique.
>> The code below obviously doesn't work.
>> [auto-wizard ...]
>> myfield: mylabel
>> type: text
>> check: required Need a value for myfield
>> check: unique products Value already been taken.
>> What would be the proper format for this?
> It was as simple as using the perl option....
I think you can also do something like this:
check: &and mylabel=required mylabel=unique myfield is required and must
be a unique value.
More information about the interchange-users