[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] auto-wizard: multiple check <SOLVED>


Quoting Peter <suppressed>
At 01:42 AM 6/14/2007, you wrote:
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.
>> [/auto-wizard]
>>
>> What would be the proper format for this?
>
> Solved...
>
> 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.

Unfortunately that doesn't seem to work in the auto-wizard.



Best regards,

Ton

--
Alamerce Nederland --- Cornerstone of eBusiness
Phone +31-40-2374381    suppressed    http://www.alamerce.nl

eCommerce Solutions -- Consulting -- Website & Interchange Hosting

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.