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] Hard-coded db write delay when running certain code? (2011)
Creditcard verification with WebCat (1998)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
problems with 2 tags (1997)
Integration? (1999)
Order not created error (never mind) (1997)
do you have a webcatalog tool you want to sell? (1999)
too many nested tags ... (1997)
Setting up the server (1997)
Web Catalog 2 demo (1997)
Shell script within a sandbox (2005)
[BULK] Fwd: [WebDNA] [BULK] WebDNA discovery in the Console - [having many crashes] (2011)
Error (1997)
[WebDNA] WebDNA Code and HTML WYSIWYG Editors (2011)
RE: Major Security Hole IIS NT (1998)
Paths change questions ... (2004)
Here's how to kill a Butler Database. (1997)
An Isnumeric function of some kind (2001)
Problems with Price field (1997)
Database multiple selections (1998)