Re: Updating checkboxes made easy !!!
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 18201
interpreted = N
texte = >It's an interesting trick, but I sure wouldn't trust it in any sort of>critical application. You are relying on how the browser interprets>multiple input fields with the same name, and since this is an HTML no-no>(except for groups of radio buttons and groups of checkboxes) you can't be>at all confident that any two browsers (or servers for that matter) are>going to handle it in the same way. A better way to accomplish the>self-updating page is:>>---update.html---->>[ShowIf [action]=update]> [Replace db=sample.db&eqSKUdatarq=1]Choice1=[HideIf>[Choice1]=[Raw][Choice1][/Raw]][Choice1][/HideIf]&Choice2=[HideIf>[Choice2]=[Raw][Choice1][/Raw]][Choice2][/HideIf][/Replace]>[/ShowIf]If the page doesn't auto reload itself you need a second page to do theupdate as with the old way of doing it.I will test it with diffferent browsers to validate its usefulness, butit is used in the Lasso files when updating checkboxes in an FM ProdatabaseLaurent---Laurent PladysLXir L a u r e n t P l a d y s‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹ L X i r_____________________________________________ 1 5 5 r u e d e P i c p u s 7 5 0 1 2 P a r i s F r a n c e_____________________________________________ +33 (0)1 44 68 80 60 (tel) +33 (0)1 44 68 80 61 (fax)_____________________________________________ w w w . L X i r . n e t l t p l a d y s @ L X i r . n e t
Associated Messages, from the most recent to the oldest:
>It's an interesting trick, but I sure wouldn't trust it in any sort of>critical application. You are relying on how the browser interprets>multiple input fields with the same name, and since this is an HTML no-no>(except for groups of radio buttons and groups of checkboxes) you can't be>at all confident that any two browsers (or servers for that matter) are>going to handle it in the same way. A better way to accomplish the>self-updating page is:>>---update.html---->>[ShowIf [action]=update]> [Replace db=sample.db&eqSKUdatarq=1]Choice1=[HideIf>[Choice1]=
[raw][Choice1][/Raw]][Choice1][/HideIf]&Choice2=[HideIf>[Choice2]=
[raw][Choice1][/Raw]][Choice2][/HideIf][/Replace]>[/ShowIf]If the page doesn't auto reload itself you need a second page to do theupdate as with the old way of doing it.I will test it with diffferent browsers to validate its usefulness, butit is used in the Lasso files when updating checkboxes in an FM ProdatabaseLaurent---Laurent PladysLXir L a u r e n t P l a d y s‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹ L X i r_____________________________________________ 1 5 5 r u e d e P i c p u s 7 5 0 1 2 P a r i s F r a n c e_____________________________________________ +33 (0)1 44 68 80 60 (tel) +33 (0)1 44 68 80 61 (fax)_____________________________________________ w w w . L X i r . n e t l t p l a d y s @ L X i r . n e t
Laurent Pladys
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:
OT - How to pay commissions to non US affiliates? (2000)
Emailer port change (1997)
Web DNA... (2007)
shipcost (1997)
Invisible file issue now a real 'bug' (1999)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
[HIDEIF] inside [FOUNDITEM] (1997)
How to Sort Summ data ? (1997)
[index] (1997)
Re2: frames & carts (1997)
WebCat2b13MacPlugin - nested [xxx] contexts (1997)
Encrypted email (2000)
Include vs. lookup? (1998)
M$loth messes with our sites (again) (2004)
WebCat editing, SiteGuard & SiteEdit (1997)
emailer w/F2 (1997)
Striping Characters (1998)
Re:HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997)
[WebDNA] fastcgi 7+ & [cart]? (2010)
Protecting Realms (was: IIS Brain Dead) (1998)