Re: setting values

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17648
interpreted = N
texte = At 2:09 PM -0800 5/13/98, Kevin Furuta is rumored to have typed: > Hi, > > What I really want to do is set the values of the [address1] etc, before > the [purchase] takes place. I noticed in the manual that there is a area > for [setheaders] but that needs a [lineindex], whereas [address1] and > company, wouldn't need that.I believe that the tag that needs the [lineindex] is [setlineitem].If you want to set address1 to shiptoaddress1 do this:****** [ORDERFILE cart=[CART]] [SETHEADER cart=[CART]]ADDRESS1=[SHIPTOADDRESS1]&NAME=[SHIPTONAME]&PHONE=[SHIPTOPHONE] etc...[/SETHEADER] [/ORDERFILE][PURCHASE] ****** If you want to use a checkbox, wrap the [ORDERFILE] part in a [SHOWIF [CHECKBOXVALUE]=T]MichaelMichael Winston *By e-mail!: michaelw@dhorse.com Internet Coordinator *By web!: http://www.dhorse.com/ Dark Horse Comics, Inc. *By fax!: 503/654/9440 Associated Messages, from the most recent to the oldest:

    
  1. Re: setting values (Michael Winston 1998)
  2. setting values (Kevin Furuta 1998)
At 2:09 PM -0800 5/13/98, Kevin Furuta is rumored to have typed: > Hi, > > What I really want to do is set the values of the [address1] etc, before > the [purchase] takes place. I noticed in the manual that there is a area > for [setheaders] but that needs a [lineindex], whereas [address1] and > company, wouldn't need that.I believe that the tag that needs the [lineindex] is [setlineitem].If you want to set address1 to shiptoaddress1 do this:****** [ORDERFILE cart=[cart]] [SETHEADER cart=[cart]]ADDRESS1=[SHIPTOADDRESS1]&NAME=[SHIPTONAME]&PHONE=[SHIPTOPHONE] etc...[/SETHEADER] [/ORDERFILE][purchase] ****** If you want to use a checkbox, wrap the [orderfile] part in a [SHOWIF [CHECKBOXVALUE]=T]MichaelMichael Winston *By e-mail!: michaelw@dhorse.com Internet Coordinator *By web!: http://www.dhorse.com/ Dark Horse Comics, Inc. *By fax!: 503/654/9440 Michael Winston

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:

Multiple CPUs? (2000) E-mail loop ! (1997) Some Questions (1997) Separate server for jpg/gif files (1998) ImageMagick on OSX (2003) Replace context problem ... (1997) Sami -pdf (1998) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) Meet your competition (2000) Text data with spaces in them... (1997) MacAuthorize and WebMerchant (1997) listing [text] variables? (1999) WCS Newbie question (1997) authorizenet/webmerchant (2000) Mozilla/4. and Browser Info.txt (1997) PCS Frames (1997) [returnraw] and form variables (1998) Date sorting (2000) no global [username] or [password] displayed ... (1997) Payment Processors (2005)