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:
[if] and [showif] (2002)
Error Lob.db records error message not name (1997)
grouping nothing (2000)
Date search and sendmail (1997)
stripping extra spaces from form fields (2000)
WebCat2b12 CGI Mac - [shownext] problem (1997)
Newbie Tax Question (1997)
calculating tax rates, mail order solutions and version 2 (1997)
[Announce]: Web server security and password protection (1997)
[WebDNA] Emailer & SMTP (2009)
Sku numbers (1997)
Linebreak as a delimiter in listwords? (2003)
Emailer errors (1997)
Where's Cart Created ? (1997)
The evolved Server Configuration Queston (2000)
I give up!! (1997)
sort links (2002)
WebCatalog2 Feature Feedback (1996)
WebCat2.0b15-to many nested [xx] tags (1997)
WebCat2 - Getting to the browser's username/password data (1997)