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:
WebMerchant? (1998)
OT: Version Control (2007)
Way Off Topic (2003)
Formulas.db (1997)
form data submission gets truncated (1997)
Webcat/Webmerchant part II (1998)
WebCat, sudo and ImageMagick (2002)
RE: ANother SHOWIF problem (1997)
FlushDatabase Suggestion (1998)
Re:quit command on NT (1997)
5.1: Can't enter serial number- FIXED (2004)
problems with 2 tags (1997)
NewCart+Search with one click ? (1997)
webcat memory problem (2001)
Next X hits (1996)
Re:Running 2 two WebCatalog.acgi's (1996)
Ampersand (1997)
Strange ThisURL under Linux (2000)
RE: Displaying Location (1997)
Next X hits (1996)