Re: best way to test for the existence of a parameter in a url
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 49854
interpreted = N
texte = I forgot the blank part:[if (([parameter] ! [raw][parameter][/raw]) | ([parameter] ! ))]----- Original Message -----From: WebCat @ Inkblot Media
To: WebDNA Talk Sent: Tuesday, April 29, 2003 11:00 AMSubject: Re: best way to test for the existence of a parameter in a url> We always use>> [if ([parameter] = [raw][parameter][/raw])]>> or>> [showif [parameter]=[raw][parameter][/raw]]>>>> ----- Original Message -----> From: Howard Wolosky > To: WebDNA Talk > Sent: Tuesday, April 29, 2003 10:54 AM> Subject: Re: best way to test for the existence of a parameter in a url>>> > I'm very partial to this method:> >> > [if [URL][_user][/URL]=%5B_user%5D]]> > [Then]> > ...> >> > At 10:38 AM 4/29/2003, you wrote:> > >Hi all,> > >> > >I am trying to test for the existence of a parameter in the URL. Whatis> > >the best way to do this?> > >> > >I find it odd that on the same page this works:> > >> > >[If [formvariables][id1][/formvariables]]> > >[Then]> > >...> > >> > >But this does not:> > >> > >[If [formvariables][--eqskudatarq][/formvariables]]> > >[Then]> > >...> > >> > >Basically, I don't care what the value of the parameter is, I just want> to> > >know if it is there. Oh, and an added benefit would be to check if ithas> > >some value other than blank ([--eqskudatarq]=).> > >> > >Thanks.> > >> > >-lucas> > >> > >> > >-------------------------------------------------------------> > >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/> >> >> >> > Howard Wolosky> > ------------------------> > howard@wolosky.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://webdna.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://webdna.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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
I forgot the blank part:[if (([parameter] ! [raw][parameter][/raw]) | ([parameter] ! ))]----- Original Message -----From: WebCat @ Inkblot Media To: WebDNA Talk Sent: Tuesday, April 29, 2003 11:00 AMSubject: Re: best way to test for the existence of a parameter in a url> We always use>> [if ([parameter] = [raw][parameter][/raw])]>> or>> [showif [parameter]=[raw][parameter][/raw]]>>>> ----- Original Message -----> From: Howard Wolosky > To: WebDNA Talk > Sent: Tuesday, April 29, 2003 10:54 AM> Subject: Re: best way to test for the existence of a parameter in a url>>> > I'm very partial to this method:> >> > [if [url][_user][/URL]=%5B_user%5D]]> > [Then]> > ...> >> > At 10:38 AM 4/29/2003, you wrote:> > >Hi all,> > >> > >I am trying to test for the existence of a parameter in the URL. Whatis> > >the best way to do this?> > >> > >I find it odd that on the same page this works:> > >> > >[If [formvariables][id1][/formvariables]]> > >[Then]> > >...> > >> > >But this does not:> > >> > >[If [formvariables][--eqskudatarq][/formvariables]]> > >[Then]> > >...> > >> > >Basically, I don't care what the value of the parameter is, I just want> to> > >know if it is there. Oh, and an added benefit would be to check if ithas> > >some value other than blank ([--eqskudatarq]=).> > >> > >Thanks.> > >> > >-lucas> > >> > >> > >-------------------------------------------------------------> > >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/> >> >> >> > Howard Wolosky> > ------------------------> > howard@wolosky.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://webdna.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://webdna.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://webdna.smithmicro.com/
WebCat @ Inkblot Media
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:
NT Setup (1998)
Nesting format tags (1997)
Multiple Ad databases? (1997)
Hideif on IP range (2004)
emailer w/F2 (1997)
creator code (1997)
credit card question (simple) (2001)
The List is Changing (1997)
Repeating Fields (1997)
Progress !! WAS: Trouble with formula.db (1997)
WebCat2b12 - nesting [tags] (1997)
[LISTFILES] (1998)
Back to Authnet with storebuilder (2003)
back button loses cart (2000)
select multiple (1997)
How do you TEAM Code? (2004)
text variables... weigh much? (2004)
[WebDNA] WebDNA 7 multiple fcgid processes (2012)
Who is doing sign-ups-got it (1998)
WebDelivery downloads alias, not original ? (1997)