Problem with imagemap variables

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 67532
interpreted = N
texte = Hello All, =20 I have an imagemap include file within a search form which on submitting = (onclick=3D"document.forms['full_form'].submit();") does not pass all = the variables set at the beginning of the form. =20 The variables on the imagemap are dynamically generated according to = which area the user clicks as below. =20 [text]mapstringstem=3D[thisURL]?x=3D1[if ("[name]"=3D"template") | = ("[name]"=3D"southwest") | ("[name]"=3D"northwest") | = ("[name]"=3D"north") | ("[name]"=3D"south") | ("[name]"=3D"southeast") | = ("[name]"=3D"northeast") | ("[name]"=3D"center") | ("[name]"=3D"palma") = | ("[name]"=3D"__LOCOdata") | ("[name]"=3D"__eqCODIGOdata") | = ("[value]"=3D"")][then][/then][else]&[name]=3D[url][value][/url][/else][/= if][/text] =20 [text]mapstring=3D[mapstringstem]&__LOCOdata=3D&__eqCODIGOdata=3D&[showif= [southwest]=3Dinclude]southwest=3Dinclude&[/showif][showif = [northwest]=3Dinclude]northwest=3Dinclude&[/showif][showif = [north]=3Dinclude]north=3Dinclude&[/showif][showif = [south]=3Dinclude]south=3Dinclude&[/showif][showif = [southeast]=3Dinclude]southeast=3Dinclude&[/showif][showif = [northeast]=3Dinclude]northeast=3Dinclude&[/showif][showif = [center]=3Dinclude]center=3Dinclude&[/showif][showif = [palma]=3Dinclude]palma=3Dinclude&[/showif][/text] =20 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. =20 I don=B4t know how I can either set the fixed variables in the imagemap = - or get the form to pass ALL of the variables on submit ..... =20 This is possibly a bit complicated to explain here but anyway... ! :) ------------------------------------------------------------- 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)
Hello All, =20 I have an imagemap include file within a search form which on submitting = (onclick=3D"document.forms['full_form'].submit();") does not pass all = the variables set at the beginning of the form. =20 The variables on the imagemap are dynamically generated according to = which area the user clicks as below. =20 [text]mapstringstem=3D[thisurl]?x=3D1[if ("[name]"=3D"template") | = ("[name]"=3D"southwest") | ("[name]"=3D"northwest") | = ("[name]"=3D"north") | ("[name]"=3D"south") | ("[name]"=3D"southeast") | = ("[name]"=3D"northeast") | ("[name]"=3D"center") | ("[name]"=3D"palma") = | ("[name]"=3D"__LOCOdata") | ("[name]"=3D"__eqCODIGOdata") | = ("[value]"=3D"")][then][/then][else]&[name]=3D[url][value][/url][/else][/= if][/text] =20 [text]mapstring=3D[mapstringstem]&__LOCOdata=3D&__eqCODIGOdata=3D&[showif= [southwest]=3Dinclude]southwest=3Dinclude&[/showif][showif = [northwest]=3Dinclude]northwest=3Dinclude&[/showif][showif = [north]=3Dinclude]north=3Dinclude&[/showif][showif = [south]=3Dinclude]south=3Dinclude&[/showif][showif = [southeast]=3Dinclude]southeast=3Dinclude&[/showif][showif = [northeast]=3Dinclude]northeast=3Dinclude&[/showif][showif = [center]=3Dinclude]center=3Dinclude&[/showif][showif = [palma]=3Dinclude]palma=3Dinclude&[/showif][/text] =20 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. =20 I don=B4t know how I can either set the fixed variables in the imagemap = - or get the form to pass ALL of the variables on submit ..... =20 This is possibly a bit complicated to explain here but anyway... ! :) ------------------------------------------------------------- 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/ "Michelle Taffe"

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:

Database Updates (1997) Configuring E-mail (1997) Error Lob.db records error message not name (1997) WebCatalog for Mac 2.0.1 Released (1997) Error Lob.db records error message not name (1997) WebTen and WebCat (1997) bug urgent, [protect admin ] and .max work wrong (2003) well... (1997) WebCatalog stalls (1998) no shopping cart (2000) Reminder... (2003) Forumulas.db & Variables (2002) Newbie from and old bee (1997) New public beta available (1997) Variables for chat (1997) searchable list archive (1997) form data submission gets truncated (1997) Re:no [search] with NT (1997) Extended [ConvertChars] (1997) [OT] iChat (2003)