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 the update as with the old way of doing it. I will test it with diffferent browsers to validate its usefulness, but it is used in the Lasso files when updating checkboxes in an FM Pro databaseLaurent--- Laurent Pladys LXir 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:

    
  1. Re: Updating checkboxes made easy !!! (Laurent Pladys 1998)
  2. Re: Updating checkboxes made easy !!! (Dave MacLeay 1998)
  3. Re: Updating checkboxes made easy !!! (Laurent Pladys 1998)
  4. Re: Updating checkboxes made easy !!! (Laurent Pladys 1998)
  5. Updating checkboxes made easy !!! (Laurent Pladys 1998)
  6. Re: Updating checkboxes made easy !!! (Dave MacLeay 1998)
  7. Re: Updating checkboxes made easy !!! (Bob Minor 1998)
>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 the update as with the old way of doing it. I will test it with diffferent browsers to validate its usefulness, but it is used in the Lasso files when updating checkboxes in an FM Pro databaseLaurent--- Laurent Pladys LXir 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:

WebCatalog2 for NT Beta Request (1997) WebCatalog for Postcards ? (1997) Almost a there but..bye bye NetCloak (1997) database files in secure folder (1997) NT 2.1b10 (1998) [Announce] DNAAds v1.0 (2003) Dealer Locator (zip codes) (2003) Question about replacing words (1998) Chicago based WebCat Hosters (2000) Multiple Pulldowns (1997) WebCat2b15MacPlugin - showing [math] (1997) WebCatalog as a ListServ (1998) PSC recommends what date format yr 2000??? (1997) Zip Codes (2003) Emailer compatibility..... (1998) Help needed: older WebCat app breaks under 4.0.1 (2000) Referrer from multiple entry points (1998) PIXO (1997) WebCat2 several catalogs? (1997) Requiring that certain fields be completed (1997)