Re: PARAMETER vs. OPERATOR (was The BUG is BACK ...)
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 18640
interpreted = N
texte = >All I want is to prevent users from entering < and > into some of my>form fields ... because disallowing those characters will effectively>prevent them from creating hyperlinks in those fields.That's easy -- no need to use ShowIf at all, just always wrap[ConvertChars] around your form variables as you're appending them to thedatabase. Those characters will always be converted to < and > andthey won't show up as hyperlinks.As for your other problem, I don't see it. The following WebDNA works asexpected:[ShowIf [url]<[/url]^[url]<[/url]]It contains <![/ShowIf]as in %3E^%3E, which is true, so It contains < is printed.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>All I want is to prevent users from entering < and > into some of my>form fields ... because disallowing those characters will effectively>prevent them from creating hyperlinks in those fields.That's easy -- no need to use ShowIf at all, just always wrap
[convertchars] around your form variables as you're appending them to thedatabase. Those characters will always be converted to < and > andthey won't show up as hyperlinks.As for your other problem, I don't see it. The following WebDNA works asexpected:[ShowIf
[url]<[/url]^
[url]<[/url]]It contains <![/ShowIf]as in %3E^%3E, which is true, so It contains < is printed.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
PCS Technical Support
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:
[cart] not being interpreted inside [founditems] (1997)
Version 4 (2000)
Help Please WebDNA 6 Secure Forms Problem (2004)
The Robert Elliot Report? (2006)
Ooops-Serial Number for NT (1997)
Setting up WebCatalog with Retail Pro data (1996)
URGENT: Can't email orders - HELP #2 (1998)
WebCat, The Trend, & Consolidating... (1997)
[WebDNA] New Server Setup (2016)
And/or Search (1998)
Problem displaying search result (1997)
Upgrading old WebCat Database Files (1997)
Advice needed. (1998)
I guess I have a problem with commitment (2003)
updating a series of records via a text file? (1999)
Rendering out a page (1997)
Looking up two prices in Formulas.db (1997)
[WebDNA] Last WSC shares for sale! (2009)
WebCat2: Items xx to xx shown, etc. (1997)
no global [username] or [password] displayed ... (1997)