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:

Sorting by date (1997) webcat (2000) Help! WebCat2 bug (1997) Prevent multiple appends with Reload Button (1997) Showing Results Alphabetically in Columns (top to bottom) (2002) Logging purchases (1997) Sort Order on a page search (1997) Weird Cookie Problem Part 2 (2007) RE: [WebDNA] Webstar (2008) OT Flash Stores (2003) cart (1997) attachment stupidity... (2001) Blank orders after update to 5.1 (2003) Dynamically Generated Pages & WC? (2000) WebCat2b13MacPlugIn - More limits on [include] (1997) attachment (2000) Re:Version 2.0 and 1.6 simultaneous (1997) with Link i need to (1997) [WebDNA] Error: template... (2009) font statistics (2003)