[ic] problems with selected and simple form

Cameron B. Prince cameron@akopia.com
Mon, 8 Jan 2001 10:20:13 -0600


Try one of these:

1) [if !scratch date_field][set date_field]date[/set][/if]

2) [if scratch date_field][else][set date_field]date[/set][/else][/if]

Good luck,

Cameron

> -----Original Message-----
> From: interchange-users-admin@lists.akopia.com
> [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Doug
> Alcorn
> Sent: Monday, January 08, 2001 10:11 AM
> To: interchange-users@minivend.com
> Subject: Re: [ic] problems with selected and simple form
> 
> 
> Doug Alcorn <doug@lathi.net> writes:
> 
> > RH Linux 6.0ish, IC 4.6.0, MySQL 3.23.27, barry template
> > 
> > [if ! scratch date_field][set date_field]date[/set][/if]
> > <!-- date_field '[scratch date_field]' -->
> > 
> 
> I don't think this line actually works.  If I remove all the other
> stuff and leave just this, I get:
> 
> <!-- date_field '' -->
> 
> Is the above code showing a fundamental lack of understanding IC?  If
> so, what am I missing?
> -- 
>  (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
>  oo / PGP 02B3 1E26 BCF2 9AAF 93F1  61D7 450C B264 3E63 D543
>  |_/  If you're a capitalist and you have the best goods and they're
>       free, you don't have to proselytize, you just have to wait. 
> 
> 
> 
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users