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:

OT-JS why it does not run on Mac (2001) Search/sort in URL Was: GuestBook example (1997) tcpconnect feature request .. (2003) no global [username] or [password] displayed ... (1997) [NT] ie 4.0 required (1997) I'm new be kind (1997) WebCat and image maps (1997) [SubTotal] again (1998) Search Context Strips URL chrs.? (1999) Database Updates (1997) .. more on sliding discounts... (1997) Tech question about web dna actions (1998) Fun with dates (1997) all records returned. (1997) [WebDNA] TCPDoh (2009) href name= link from dynamic URL possible? (1998) Here we go again... (2006) "Advanced" Search Algorithm (2008) Creating 404 Not Found pages (1999) [WebDNA] db admin tool (2008)