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:
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:
Error.html (1997)
Re[2]: Enhancement Request for WebCatalog-NT (1996)
Can anyone help me with this shipping thing? (1998)
Cookie problems using Mozilla and Camino browsers (2004)
Spawn doesn't work as advertised ... (2000)
[WebDNA] how to override webdna's built-in tags? (2010)
Using Plug-In while running 1.6.1 (1997)
weight based shipping cost questions (1997)
Phantom Sendmail (2005)
Going to anchors within a template page (1997)
syntax question, not in online refernce (1997)
[OT] XML Primer (2004)
WebCat2.0 acgi vs plugin (1997)
WCS Newbie question (1997)
RE: Cart Template (1997)
[cart] not being interpreted inside [founditems] (1997)
Applescript, WebDNA, and PDF (1997)
Snake Bites (1997)
Undeliverable Mail (1997)
Help with nested search (1998)