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????ThanksScott Szretter @ EES
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.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????ThanksScott 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:
[WebDNA] Another strange WebDNA problem (2013)
japanese characters (1997)
New index for docs (1997)
Add to Cart & List of Products (1997)
Try not to laugh (2007)
WebCat2 Append problem (B14Macacgi) (1997)
WebCat2 - storing unformatted date data? (1997)
WebMerchant Question (1998)
FTP Settings (1999)
Accepting credit cards (1997)
Random (2000)
Date calculation problems (1997)
Clearing orders and database help! (1997)
How to verify email address (1997)
High ASCII inside [LOOKUP] inside [LISTWORDS] (1998)
off topic - dna snipets (1997)
WebCat2 beta 11 - new prefs ... (1997)
Replace Statement (1997)
WebCat2b15MacPlugin - [protect] (1997)
2.1b3 --> way slow (1997)