Re: Filling in fields conditionally
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 20887
interpreted = N
texte = >We have an invoice.tpl page that has a checkbox on it that is a 'ship to>billing address' checkbox. If this box is checked, we want the shipping>fields to be set to the same values as the bill to fields that the user>filled in.Use [ShowIf] to see if that checkbox is checked, then use [SetHeader] toset all the shipping fields to be the same as the billing fields.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>We have an invoice.tpl page that has a checkbox on it that is a 'ship to>billing address' checkbox. If this box is checked, we want the shipping>fields to be set to the same values as the bill to fields that the user>filled in.Use
[showif] to see if that checkbox is checked, then use
[setheader] toset all the shipping fields to be the same as the billing fields.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
PCS Technical Support
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:
Searching an Email database (1997)
Getting total number of items ordered (1997)
off topic - dna snipets (1997)
OK, here goes... (1997)
WebCat2b12 CGI Mac - [shownext] problem (1997)
OT - royalty free images (2002)
PSC recommends what date format yr 2000??? (1997)
Erotic Sites (1997)
[addlineitems] (1997)
Multiple Merchant Accounts? (1997)
Date search - yes or no (1997)
Webcat/Webmerchant (1998)
b12 cannot limit records returned and more. (1997)
listfile options (1997)
[WebDNA] [OT] BBEdit Glossary (2012)
'does not contain' operator needed ... (1997)
Rollovers (1999)
Group Updates (1998)
Where's Cart Created ? (1997)
Re1000001: Setting up shop (1997)