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:
Major Security Hole IIS NT (1998)
Trouble with formula.db (1997)
Problems setting MIME Headers (1998)
Another question (1997)
webcat license???? (1997)
Security Issues and WebCommerce Solution (1997)
taxRate is fine but taxTotal isn't (1997)
Sherlock and WebCat (1998)
Nesting format tags (1997)
More on the email templates (1997)
Me know logical no need (2002)
[WebDNA] Syntax Error? (2009)
Bug Report, maybe (1997)
[date] insanity! (2001)
carriage returns in data (1997)
MASTER_STORE revision (2002)
wc 2 pro users - sites, quotes wanted (1997)
WebDNA Solutions ... sorry! (1997)
Multiple prices (1997)
Database of Tax Rates? (1997)