Re: Redirect and passing more than one variable...
This WebDNA talk-list message is from
2002
It keeps the original formatting.
numero = 43436
interpreted = N
texte = Did you try it without the url= in the redirect.Th9is works for us on all our [redirect]'s[redirect http://www.gotricities.net/domains/timesnews.net/photodisplay.dna?action=searching&textstring=[textstring]]Alain> Sure Donavan,> > Here is the form;> > form action=searchpage.dna method=get name=FormName>> > > > > border=0> > border=0> > > This form action goes to a search page with this in the header.> > [showif [searchselect]=Photos][redirect> url=[url]http://www.gotricities.net/domains/timesnews.net/photodisplay.dna?> action=searching&textstring=[textstring][/url]][/showif]> > I tried something that Alain Russell mentioned with the [url] wrap, but> now my search context is not handling the expression properly.....> > The URL reads; photodisplay.dna?action=searching&textstring=Bristol,> which is a step forward, but my search is not finding anything despite> the existence of 2500 photos...> > [showif [action]=searching]> [search > db=/PhotoArchive/photo.db&group1field=Caption+Description+Keywords+Photographe> r&> [search_type]group1datarq=[textstring]&PubDatesort=1&UPDATEDsdir=as&Max=15&> startat=[start]]> > > hmmmm> > > > > On Monday, September 16, 2002, at 05:00 AM, Donovan Brooke wrote:> >> David,>> a couple of questions for you:>> >> What does the variable look like in the URL locator when it is passed?>> Does it look like>> photodisplay.dna?action=searching&textstring=[textstring]?>> >> To clarify.. you have a form that has an action to this page with a>> select input>> name of textstring right? I'm a little confused as to what you are>> describing>> so maybe you can clarify a bit.>> >> Donovan>> >> >> >> David Cate wrote:>> >>> I was hoping to find a way to pass a variable from a multi-select form>>> to a [redirect]>>> >>> [showif [searchselect]=Photos][redirect>>> url=photodisplay.dna?action=searching&textstring=[textstring]][/showif]>>> >>> For some reason, I'm unable to pass the textstring. The action call>>> seems to be the only thing that is passed.>>> >>> Is this common with WebDNA? Is there a work -around?>>> >>> Thanks in advance>>> >>> David Cate>>> New Media Director>>> GoTriCities Network>>> http://www.gotricities.com>>> >>> ------------------------------------------------------------->> >> >> ------------------------------------------------------------->> 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 > digest@talk.smithmicro.com>>> Web Archive of this list is at: http://search.smithmicro.com/>> >> > David Cate> New Media Director> The GoTriCities Network> http://www.gotricities.com> > > -------------------------------------------------------------> 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://search.smithmicro.com/-------------------------------------------------------------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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Did you try it without the url= in the redirect.Th9is works for us on all our [redirect]'s[redirect http://www.gotricities.net/domains/timesnews.net/photodisplay.dna?action=searching&textstring=[textstring]]Alain> Sure Donavan,> > Here is the form;> > form action=searchpage.dna method=get name=FormName>> > > > > border=0> > border=0> > > This form action goes to a search page with this in the header.> > [showif [searchselect]=Photos][redirect> url=[url]http://www.gotricities.net/domains/timesnews.net/photodisplay.dna?> action=searching&textstring=[textstring][/url]][/showif]> > I tried something that Alain Russell mentioned with the [url] wrap, but> now my search context is not handling the expression properly.....> > The URL reads; photodisplay.dna?action=searching&textstring=Bristol,> which is a step forward, but my search is not finding anything despite> the existence of 2500 photos...> > [showif [action]=searching]> [search > db=/PhotoArchive/photo.db&group1field=Caption+Description+Keywords+Photographe> r&> [search_type]group1datarq=[textstring]&PubDatesort=1&UPDATEDsdir=as&Max=15&> startat=[start]]> > > hmmmm> > > > > On Monday, September 16, 2002, at 05:00 AM, Donovan Brooke wrote:> >> David,>> a couple of questions for you:>> >> What does the variable look like in the URL locator when it is passed?>> Does it look like>> photodisplay.dna?action=searching&textstring=[textstring]?>> >> To clarify.. you have a form that has an action to this page with a>> select input>> name of textstring right? I'm a little confused as to what you are>> describing>> so maybe you can clarify a bit.>> >> Donovan>> >> >> >> David Cate wrote:>> >>> I was hoping to find a way to pass a variable from a multi-select form>>> to a [redirect]>>> >>> [showif [searchselect]=Photos][redirect>>> url=photodisplay.dna?action=searching&textstring=[textstring]][/showif]>>> >>> For some reason, I'm unable to pass the textstring. The action call>>> seems to be the only thing that is passed.>>> >>> Is this common with WebDNA? Is there a work -around?>>> >>> Thanks in advance>>> >>> David Cate>>> New Media Director>>> GoTriCities Network>>> http://www.gotricities.com>>> >>> ------------------------------------------------------------->> >> >> ------------------------------------------------------------->> 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 > digest@talk.smithmicro.com>>> Web Archive of this list is at: http://search.smithmicro.com/>> >> > David Cate> New Media Director> The GoTriCities Network> http://www.gotricities.com> > > -------------------------------------------------------------> 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://search.smithmicro.com/-------------------------------------------------------------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://search.smithmicro.com/
Alain Russell
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...