
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Clearing Values
On Tue, Dec 11, 2001 at 12:44:16PM -0800, Dan Browning wrote:
> > Hope some one has seen this before, as I'm pulling my hair on
> > this one....
> >
> > I'm trying to clear out some of the values when an order is
> > submitted. This
> > code doesn't work correctly however:
> >
> > [value name="shipToPO" set="" hide="1"]
> >
> > is there something else I need to do? I just want to clear
> > out a "value"
> >
> > The weird thing is that when I log the value to the error
> > log, it appears to
> > be cleared, it almost seems like it is getting re-set some how???
> >
> > Thanks in advance:
> >
> > LA
>
> [calc]$Values->{shipToPO} = "";[/calc]
Gawd I hate that: "" is still defined - used to bite me all the time.
I remember once hacking something so I could undef a value and Mike pointed
out another way.
[calc]delete($Values->{shipToPO});[/calc]
doesn't work does it?
cfm
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content/site management, online commerce, internet integration, Debian linux
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users