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 = 49856
interpreted = N
texte = Hi,No, neither of those work. Maybe WebDNA chokes on the -- part of the parameter. But that's SmithMicro's syntax, not mine...Does anyone know why they would even use -- in a parameter name?-lucasOn Tuesday, April 29, 2003, at 11:00 AM, WebCat @ Inkblot Media wrote:> 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. >>> What is>>> 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 >>> it has>>> 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:
Hi,No, neither of those work. Maybe WebDNA chokes on the -- part of the parameter. But that's SmithMicro's syntax, not mine...Does anyone know why they would even use -- in a parameter name?-lucasOn Tuesday, April 29, 2003, at 11:00 AM, WebCat @ Inkblot Media wrote:> 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. >>> What is>>> 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 >>> it has>>> 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/
Lucas Rockwell
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:
purchase.log file (1997)
WebCat 5 Intranet Question (2003)
WebDNA maxing out processor (2008)
Getting Total Quantity (1997)
PCS Frames (1997)
[item] appears after 'remove last item' ... (1997)
Running _every_ page through WebCat-error.html (1997)
Problem with WebDNA Store Order (2004)
No luck with taxes (1997)
Problems with [Applescript] (1997)
Initiating NewCart (1997)
New command suggestion (1997)
Re:2nd WebCatalog2 Feature Request (1996)
Problems passing [SKU] with $Replace in 2.0 (1997)
[WebDNA] Best Linux distro for a dedicated webdna server? (2011)
Forms Search Questions (1997)
japanese characters (1997)
[OT] Communigate List (2003)
Works! (1997)
combining strings (1997)