Re: Setting a text Var inside an orderfile
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 42999
interpreted = N
texte = Since you're accessing [name] inside the [orderfile], you're accessing the name header field, not the [name] tag of the [formvariables].Easy fix: Set your passedindex before you enter your [orderfile]- brianAt 2:48 PM 8/29/02, Donovan 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?>>>> 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/-------------------------------------------------------------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:
Since you're accessing [name] inside the [orderfile], you're accessing the name header field, not the [name] tag of the [formvariables].Easy fix: Set your passedindex before you enter your [orderfile]- brianAt 2:48 PM 8/29/02, Donovan 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?>>>> 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/-------------------------------------------------------------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/
Brian Fries
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:
quantity minimum problem (1997)
Progress !! WAS: Trouble with formula.db (1997)
WebCat with WebTen (1998)
X etc.... (1999)
Re:redirect from the errorsMessages.db entry (1997)
Never Mind - Was - Credit Card Processing (2000)
Showif, Hideif reverse logic ? (1997)
Still having install problems (2000)
Protecting Files (2005)
Listfiles (1998)
WC2b15 - [HTMLx]...[/HTMLx] problems (1997)
For you Unix gurus [OT] (2002)
Fw: Would you please check your user who sent the message? (1998)
Overriding text variables ... (2000)
Problems w/ heavy use of cart header fields? (1998)
WebCatalog 2.0.1 for Windows released! (1997)
[isfile] ? (1997)
I give up!! (1997)
Include a big block of text (1997)
Separate SSL Server (1997)