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:

[WebDNA] Using webdna to automate ftp on a Windows server (2012) & in Lookups (1997) redirect strangeness (2000) WC 2.0 frames feature (1997) WCS Newbie question (1997) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) WebCommerce: Folder organization ? (1997) Heads up: WebCatalog 4 drops MacTCP, 68K (2000) Referrer field to header field conversion (1997) [WebDNA] LIST FILES - Stupid results (2016) website pro trouble (1998) [Sum] function? (1997) Fun with Dates - finally resolved but.... (1997) Tip for making barcharts (1997) Storebuilder (2000) Great product and great job ! (1997) Pgp&emailer (1997) Saving/Looking Up customer numbers (1998) Cart date/time (2006) Country & Ship-to address & other fields ? (1997)