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:
WebCat2b15MacPlugin - [protect] (1997)
WebCat2: Items xx to xx shown, etc. (1997)
[WAY OFF TOPIC] anybody live in Kansas? (2003)
WebCat2: Found Items syntax, etc. (1997)
FM PRO Compatibility Issue - Single Database w/oConversions (1997)
[shownext] link disappears after first use. Why? - because w/out the formvar, max reset to def (2000)
Tip: upgrading to WebCatalog 3.x, fields to watch for (1999)
Table Trouble... (2005)
WebCat2 Append problem (B14Macacgi) (1997)
attn: smitmicro - cart limitation (2002)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
How to include weather (2000)
String manipulation in Webcatalog (2001)
Possible to reset Linux file permissions w/in webcat [shell] ? (2000)
Semi OT: vbulletin and # viewing - how do that do that? (2003)
For those of you not on the WebCatalog Beta... (1997)
authenticating a second user (1997)
[WebDNA] ReturnRaw and binarybody (2013)
WebCat2 - Getting to the browser's username/password data (1997)
WCS Newbie question (1997)