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:
webdelivery.html and webna (1997)
[LOOKUP] (1997)
Generating Report Totals (1997)
Public beta 4 of WebCatalog 4.0 is now available (2000)
Getting Emailer to send mail (1997)
default value from Lookup (was Grant, please help me) (1997)
problems with 2 tags shakur (1997)
How flexible is Shipping? (1997)
[WebDNA] test post (2011)
ooops...WebCatalog [FoundItems] Problem - LONG - (1997)
Rookie Hacker? (1998)
[addlineitems] (1997)
WebCat2: Items xx to xx shown, etc. (1997)
Netscape Error Message Document Contains No Data (1998)
Authenticate (1997)
RE: E-mailer error codes (1997)
[OT] Indexing of dynamic web sites (2003)
Pipes instead of tabs (1998)
carriage returns in data (1997)
Moving records (2000)