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:
WebCat & WebTen (1997)
problems with 2 tags shakur (1997)
WebCat2 as a chat server? (1997)
[OT] CSS and SSI books (2004)
Tip for making barcharts (1997)
Sku numbers (1997)
[WebDNA] How to test whether JPEG file is valid in WebDNA? (2011)
Instructions for Digest (1997)
[WebDNA] Seriously what is wrong here? (2011)
[taxrate] question (1997)
WebMerchant docs and testing (2000)
[WebDNA] Yet another call for hosts... (2009)
RE: is sku a REQUIRED field on NT (1997)
Truncated [textA] (2000)
Need help (1998)
Dummy Credit Card Number for debug? (1997)
FW: I'll Know If You Don't Read This (2006)
WebCat2: Items xx to xx shown, etc. (1997)
raw=T is broken in [include] (1997)
OT- Move SQL DB's (2004)