Re: Setting a text Var inside an orderfile

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 42997
interpreted = N
texte = 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. DonovanJohn 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? > > The [showif] is not firing; [lineindex] is a number whereas you are checking for > a name of a form variable. Do you mean to be testing against SKU? I don't have > any idea what you are doing, since I don't know what your cart contains. > > John > > -- > John Peacock > Director of Information Research and Technology > Rowman & Littlefield Publishing Group > 4720 Boston Way > Lanham, MD 20706 > 301-459-3366 x.5010 > fax 301-429-5747 > >-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> 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:

    
  1. Re: Setting a text Var inside an orderfile (Brian Fries 2002)
  2. Re: Setting a text Var inside an orderfile (Donovan 2002)
  3. Re: Setting a text Var inside an orderfile (Donovan 2002)
  4. Re: Setting a text Var inside an orderfile (John Peacock 2002)
  5. Setting a text Var inside an orderfile (Donovan 2002)
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. DonovanJohn 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? > > The [showif] is not firing; [lineindex] is a number whereas you are checking for > a name of a form variable. Do you mean to be testing against SKU? I don't have > any idea what you are doing, since I don't know what your cart contains. > > John > > -- > John Peacock > Director of Information Research and Technology > Rowman & Littlefield Publishing Group > 4720 Boston Way > Lanham, MD 20706 > 301-459-3366 x.5010 > fax 301-429-5747 > >-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> 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:

Limiting user access to .tmpl files (1997) emailer (1997) Cookies (1999) [WebDNA] User sessions - cookies only or cookies and a sessions.db? (2016) WebCat2 beta 11 - new prefs ... (1997) Help with Search (2004) WebCatalog sales (1997) WebDNA Solutions ... sorry! (1997) Mac 4.0b2 Installer Problems (2000) Search results templates (1996) U&P IIS concept (1998) [CART] inside a [LOOP] (1997) emailer (1998) RE: New WebCatalog Version !!! (1997) remotely creating and populating a stock inventory db -almost there! (1999) For those of you not on the WebCatalog Beta... (1997) Forms Search Questions (1997) MacAuthorize Hub/Client and program linking (1997) HTML Editors (1997) File dates in WebCatalog .tmpl/.inc (1997)