bugs w/! &/or bad scripting???
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 12849
interpreted = N
texte = Some comments about using an ! B19 NT Version:[hideif [homeP3]=] [homeP3][/hideif]The above should show field homeP3 if there is something in that container. This works, though when homeP3 ends in an ! (which can be quite common for a title), it DOESN'T show homeP3. Take out the ! and bingo, back on the page.This ! point also seems to alter comparisions. I want to check if a user changed a field so I assign the field to a variable, pass it to another page, and check if the variable is different than what's in the database. This works fine...until I have contents in a field like: This is a test!. The comparision will come up that they are different, even though I don't change the input field at all. But when it's something other than text ending with an exclamation point, it works fine.Question: Does having an ! at the end of a string interfere with comparisions? If yes, what other characters will alter comparisions. Are there any reserved characters we shouldn't use in comparisions like searching with $,?, etc.?Aloha,Olin.....................................................................W O R L D P O I N T I N T E R A C T I V E OLIN KEALOHA LAGON director, website creationHonolulu San Francisco 2800 woodlawn drive 222 sutter street olin@worldpoint.com suite 170 sixth floor www.worldpoint.com honolulu, hi 96822 san francisco, ca 94108 voice.808.539.3978 fax.808.539.3943 cell.808.291.1610.....................................................................
Associated Messages, from the most recent to the oldest:
|
- bugs w/! &/or bad scripting??? (Olin 1997)
|
Some comments about using an ! B19 NT Version:[hideif [homeP3]=] [homeP3][/hideif]The above should show field homeP3 if there is something in that container. This works, though when homeP3 ends in an ! (which can be quite common for a title), it DOESN'T show homeP3. Take out the ! and bingo, back on the page.This ! point also seems to alter comparisions. I want to check if a user changed a field so I assign the field to a variable, pass it to another page, and check if the variable is different than what's in the database. This works fine...until I have contents in a field like: This is a test!. The comparision will come up that they are different, even though I don't change the input field at all. But when it's something other than text ending with an exclamation point, it works fine.Question: Does having an ! at the end of a string interfere with comparisions? If yes, what other characters will alter comparisions. Are there any reserved characters we shouldn't use in comparisions like searching with $,?, etc.?Aloha,Olin.....................................................................W O R L D P O I N T I N T E R A C T I V E OLIN KEALOHA LAGON director, website creationHonolulu San Francisco 2800 woodlawn drive 222 sutter street olin@worldpoint.com suite 170 sixth floor www.worldpoint.com honolulu, hi 96822 san francisco, ca 94108 voice.808.539.3978 fax.808.539.3943 cell.808.291.1610.....................................................................
Olin
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:
syntax question, not in online refernce (1997)
IIS4 (1998)
Error: Too many nested [xxx] contexts (1997)
[WebDNA] webdna.us (2008)
[TaxableTotal] - not working with AOL and IE (1997)
writing db to disk (1997)
WC 4.0 on OSX 10.0.4 problems (2001)
WebCatalog for guestbook ? (1997)
Show if time tags (1997)
Single Link browsing (1997)
Why did PCS send me this? (1999)
Caching [include] files ... (1997)
Shipping formula problem (1997)
WCS Newbie question (1997)
Virtual hosting and webcatNT (1997)
template not found error (1998)
WebCat2 several catalogs? (1997)
reverse loops (1998)
Fw: Webcat followup question (1999)
Founditems context returning only 1 item (1997)