Re: Setting a text Var inside an orderfile
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 42998
interpreted = N
texte = Yep,that did it. I set the passedindex outside the orderfile and it worked.[formvariables name=set_&exact=F][text]passedindex=[getchars start=5][name][/getchars][/text][orderfile cart=[cart]][lineitems] [showif [lineindex]=[passedindex]]Man, sometimes these little things take up a lot of time. ;-)DonovanDonovan wrote:> Well, could [name] (meant to be the name of the variable (which is> Set_[lineindex]))> be getting confused with [name] in the orderfile?>> I'm trying to pass an index of lineitems to this code..alla.passedindex.> If it equals the [lineindex] in this lineitems loop I want to grab the TEXTD and C> fields and set them to ProdID and INVID.> Donovan>> John Peacock wrote:>> > Donovan wrote:> > > [text]passedindex=[getchars start=5][name][/getchars][/text]> > > [showif [lineindex]=[passedindex]]> > > [text]ProdID=[TEXTD][/text]> > > [text]INVID=[TEXTC][/text]> > > [/showif]> > >> > > I've checked that [passedindex] gets passed o.k.> > >> > > any ideas?>-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ -------------------------------------------------------------------------------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Yep,that did it. I set the passedindex outside the orderfile and it worked.[formvariables name=set_&exact=F][text]passedindex=[getchars start=5][name][/getchars][/text][orderfile cart=[cart]][lineitems] [showif [lineindex]=[passedindex]]Man, sometimes these little things take up a lot of time. ;-)DonovanDonovan wrote:> Well, could [name] (meant to be the name of the variable (which is> Set_[lineindex]))> be getting confused with [name] in the orderfile?>> I'm trying to pass an index of lineitems to this code..alla.passedindex.> If it equals the [lineindex] in this lineitems loop I want to grab the TEXTD and C> fields and set them to ProdID and INVID.> Donovan>> John Peacock wrote:>> > Donovan wrote:> > > [text]passedindex=[getchars start=5][name][/getchars][/text]> > > [showif [lineindex]=[passedindex]]> > > [text]ProdID=[TEXTD][/text]> > > [text]INVID=[TEXTC][/text]> > > [/showif]> > >> > > I've checked that [passedindex] gets passed o.k.> > >> > > any ideas?>-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ -------------------------------------------------------------------------------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Donovan
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[WebDNA] [TCPSend] Test email address??? (2011)
Newbie Tax Question (1997)
RE: [WebDNA] CRITICAL ISSUE: PrivateTmp and "Sorry WebDNA server not (2019)
RAM crash (1998)
NEW INFO: I'm stuck: Can't open order file. (2000)
oops private message leaked into talk list (1997)
selectively replacing records within a [founditems] (2000)
WebCat2b12 CGI Mac -- Problems propagating the cart through (1997)
[format xs] freeze (1997)
problems with 2 tags (1997)
Message Board (2001)
WebCat2: multiple currency support (1997)
Emailer (1997)
Showif date range comparison (1999)
WebDelivery downloads alias, not original ? (1997)
simple forum/bboard (2004)
Date Question (2002)
Saving Text Areas with Orders (1997)
RE: WebDNA-Talk searchable? (1997)
international time (1997)