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:
Frames and WebCat (1997)
[WebDNA] 6.2.1 fails on Apache 2.4.6 (2014)
3 card formulas! (1999)
Close Databases Crash? (1998)
[WebDNA] [OT] WebDNA Wiki - need grammar check / suggestions (2009)
Displays by Categories (2000)
Uh...can someone help me out with the b10? (1997)
syntax question, not in online refernce (1997)
read and write you own cookies with webcat (1997)
Upcoming 2.1 Release and PCS Committment (1997)
E-mailer error codes (1997)
Changing SubTotal (2003)
Help with Repost Data msg from form (1997)
Country & Ship-to address & other fields ? (1997)
[WebDNA] Error 500 with SUMM=T (2017)
thankyou.tmpl (1997)
[TCPConnect] questions/problems (2001)
completed orders database (1997)
[WebDNA] No more SQL in 7.1? (2012)
Location of Webcat site in folder hierarchy (1997)