Filling in fields conditionally

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20881
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.We have a button on the form that basically just re-loads the form, and the fields all have value=[fieldname], so when the form re-loads, it keeps the values the user entered, and what I tried to do is when they click the checkbox, and click the update button, is at the top of the form something like this --[text show=F]ShipFirstName=John Doe[/text]also tried [ShipFirstName] ...Didnt work -- the ship first name was blank...It seems that logically this SHOULD work... Any ideas????Thanks Scott Szretter @ EES Associated Messages, from the most recent to the oldest:

    
  1. Re: Filling in fields conditionally (PCS Technical Support 1998)
  2. Filling in fields conditionally (Scott Szretter 1998)
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.We have a button on the form that basically just re-loads the form, and the fields all have value=[fieldname], so when the form re-loads, it keeps the values the user entered, and what I tried to do is when they click the checkbox, and click the update button, is at the top of the form something like this --[text show=F]ShipFirstName=John Doe[/text]also tried [ShipFirstName] ...Didnt work -- the ship first name was blank...It seems that logically this SHOULD work... Any ideas????Thanks Scott Szretter @ EES Scott Szretter

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:

BUG in [showif] using ^ (contains) (1997) Anyone awake? Just testing... (2005) Uh...can someone help me out with the b10? (1997) Cant open pages generated by Webcat (2004) [SMSI] WebDNA is too good to go away! (2006) Re[2]: php vs WebCatalog (2000) Zip Codes (2003) TRAINING videos - Prove IT. (1998) japanese characters (1997) WebMerchant Problem (1999) Quickie question on the email templates (1997) Where is eudora plugin? (1998) [SHOWIF AND/OR] (1997) Free WebDNA snippets (Extending WebCatalog) (1997) [WebDNA] Issue with variable inside a Function (2018) Searching (1998) WebCat2b12--[searchstring] bug (1997) Changing the value assigned to a formvariable (2000) Payment Calculator (2000) Fixed: 2cd pair of eyes please. (2003)