Re: Problem with imagemap variables

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 67534
interpreted = N
texte = Michelle Taffe wrote: > Hello All, > > I have an imagemap include file within a search form which on submitting (onclick="document.forms['full_form'].submit();") does not pass all the variables set at the beginning of the form. > > The variables on the imagemap are dynamically generated according to which area the user clicks as below. > > [text]mapstringstem=[thisURL]?x=1[if ("[name]"="template") | ("[name]"="southwest") | ("[name]"="northwest") | ("[name]"="north") | ("[name]"="south") | ("[name]"="southeast") | ("[name]"="northeast") | ("[name]"="center") | ("[name]"="palma") | ("[name]"="__LOCOdata") | ("[name]"="__eqCODIGOdata") | ("[value]"="")][then][/then][else]&[name]=[url][value][/url][/else][/if][/text] > > [text]mapstring=[mapstringstem]&__LOCOdata=&__eqCODIGOdata=&[showif [southwest]=include]southwest=include&[/showif][showif [northwest]=include]northwest=include&[/showif][showif [north]=include]north=include&[/showif][showif [south]=include]south=include&[/showif][showif [southeast]=include]southeast=include&[/showif][showif [northeast]=include]northeast=include&[/showif][showif [center]=include]center=include&[/showif][showif [palma]=include]palma=include&[/showif][/text] > > The map successfully selects the right areas but does not pass all the variables and hence shows no search results unless sumbitted via a checkbox which does action all the variables. > > I donīt know how I can either set the fixed variables in the imagemap - or get the form to pass ALL of the variables on submit ..... > > This is possibly a bit complicated to explain here but anyway... ! :) Well, its just a bit general. Some good tests are: Put this at the top of your page: -- Formvariables:
[formvariables] [name]=[value]
[/formvariables] -- That will tell you which values are not being passed. then once you figure out why, the fix should be apparent. Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Custom Paint, Labels, and Specialty Signage. -> <- Home and Business Embellishment/Fabrication, -> <- Glass Blowing, and Art Glass -> PH/FAX:> 1 (608) 835-2476 Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Problem with imagemap variables ( Stuart Tremain 2006)
  2. Re: Problem with imagemap variables ( Donovan Brooke 2006)
  3. Problem with imagemap variables ( "Michelle Taffe" 2006)
Michelle Taffe wrote: > Hello All, > > I have an imagemap include file within a search form which on submitting (onclick="document.forms['full_form'].submit();") does not pass all the variables set at the beginning of the form. > > The variables on the imagemap are dynamically generated according to which area the user clicks as below. > > [text]mapstringstem=[thisurl]?x=1[if ("[name]"="template") | ("[name]"="southwest") | ("[name]"="northwest") | ("[name]"="north") | ("[name]"="south") | ("[name]"="southeast") | ("[name]"="northeast") | ("[name]"="center") | ("[name]"="palma") | ("[name]"="__LOCOdata") | ("[name]"="__eqCODIGOdata") | ("[value]"="")][then][/then][else]&[name]=[url][value][/url][/else][/if][/text] > > [text]mapstring=[mapstringstem]&__LOCOdata=&__eqCODIGOdata=&[showif [southwest]=include]southwest=include&[/showif][showif [northwest]=include]northwest=include&[/showif][showif [north]=include]north=include&[/showif][showif [south]=include]south=include&[/showif][showif [southeast]=include]southeast=include&[/showif][showif [northeast]=include]northeast=include&[/showif][showif [center]=include]center=include&[/showif][showif [palma]=include]palma=include&[/showif][/text] > > The map successfully selects the right areas but does not pass all the variables and hence shows no search results unless sumbitted via a checkbox which does action all the variables. > > I donīt know how I can either set the fixed variables in the imagemap - or get the form to pass ALL of the variables on submit ..... > > This is possibly a bit complicated to explain here but anyway... ! :) Well, its just a bit general. Some good tests are: Put this at the top of your page: -- Formvariables:
[formvariables] [name]=[value]
[/formvariables] -- That will tell you which values are not being passed. then once you figure out why, the fix should be apparent. Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Custom Paint, Labels, and Specialty Signage. -> <- Home and Business Embellishment/Fabrication, -> <- Glass Blowing, and Art Glass -> PH/FAX:> 1 (608) 835-2476 Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Donovan Brooke

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:

relational db question (2002) RE: includes and cart numbers (1997) [/application] error? (1997) MacAuthorize order data fields WAS:How To question... (1997) WebCatalog f2 Installation (1997) WebDNA Parnter Edition 5.0 ? (2003) Location of Browser Info.txt file (1997) [WebDNA] Calculate Cube root (2012) emailer prob (1998) [WebDNA] Processor Maxing out (2010) If Empty ? (1997) Add more fields to an existent data base (1997) WebCat2b15MacPlugin - showing [math] (1997) Is this possible, WebCat2.0 and checkboxes (1997) WC2f3 (1997) date (1998) tcpconnect/tcpsend problem ... (2004) Associative lookup style? + bit more (1997) Running _every_ page through WebCat ? (1997) [cart] tag (2000)