Re: [WebDNA] Old Problem, the exclamation point

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111648
interpreted = N
texte = Little less confusing than things like mysql_query(),=20 mysql_escape_string() =20 etc..=20 ;-) On Oct 31, 2014, at 9:17 AM, Terry Wilson wrote: > Trust me on this --you aren't the only one! >=20 > Sent from my iPad >=20 > On Oct 31, 2014, at 6:54 AM, Steve Braun wrote: >=20 >> Thanks Terry. This has always confused me. >>=20 >>=20 >>=20 >> Stephen F Braun >> sbraun1@twcny.rr.com >>=20 >> On Fri, Oct 31, 2014 at 9:02 AM, Terry Wilson = wrote: >> The first one.=20 >>=20 >> Use [url] when certain characters would trip up the code. Remember it = because you'll need [url] to fix spaces in urls. But anywhere a &, $, !, = space, etc could be a problem: commonly, all = search/append/replace/delete tags (&), showif/hideif (!), urls. Note = that you don't have to waste your time url'ing every damn value written = to a db. If you control the value and know it's clean, like a T or F or = a number or word from a value list, no need. When a user inputs or you = pull something like company names from a db, that's when you need it. >>=20 >> [input] is used when quote marks and returns will trip things up. = Values within tags and in java scripts. Not just in = but also in all other tags, i.e., = value=3D"[input][whatever][/input]" -- same idea about js. >>=20 >> [convertchars] to make things right again when you display text on = your page. >>=20 >> Terry >>=20 >> Sent from my iPad >>=20 >> On Oct 31, 2014, at 5:27 AM, Steve Braun = wrote: >>=20 >>> So which is the correct format when using >>> or >>> [input][/input] >>> or >>> >>> or >>> [input][/input] >>>=20 >>>=20 >>> And Tom says that the issue may be in my display template not on my = input template. I'm using convertchars tag? Is that correct? >>> [convertchars][lTEXT_1][/convertchars] >>>=20 >>> Thanksomuch, >>> sfb >>>=20 >>>=20 >>>=20 >>>=20 >>> Stephen F Braun >>> sbraun1@twcny.rr.com >>>=20 >>> On Tue, Sep 2, 2014 at 7:21 AM, Tom Duke = wrote: >>> Steve, >>>=20 >>> Hi - all looks ok to me, though I would generally use [input] tags = for text inputs: >>>=20 >>> >>>=20 >>> Maybe the issue is on your display template, not the form / data = input template. >>>=20 >>> - Tom >>>=20 >>>=20 >>> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >>>=20 >>> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >>=20 >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Old Problem, the exclamation point (Terry Wilson 2014)
  2. Re: [WebDNA] Old Problem, the exclamation point (Terry Wilson 2014)
  3. Re: [WebDNA] Old Problem, the exclamation point (Donovan Brooke 2014)
  4. Re: [WebDNA] Old Problem, the exclamation point (Terry Wilson 2014)
  5. Re: [WebDNA] Old Problem, the exclamation point (Steve Braun 2014)
  6. Re: [WebDNA] Old Problem, the exclamation point (Terry Wilson 2014)
  7. Re: [WebDNA] Old Problem, the exclamation point (Donovan Brooke 2014)
  8. Re: [WebDNA] Old Problem, the exclamation point (Steve Braun 2014)
  9. Re: [WebDNA] Old Problem, the exclamation point (Tom Duke 2014)
  10. [WebDNA] Old Problem, the exclamation point (Steve Braun 2014)
Little less confusing than things like mysql_query(),=20 mysql_escape_string() =20 etc..=20 ;-) On Oct 31, 2014, at 9:17 AM, Terry Wilson wrote: > Trust me on this --you aren't the only one! >=20 > Sent from my iPad >=20 > On Oct 31, 2014, at 6:54 AM, Steve Braun wrote: >=20 >> Thanks Terry. This has always confused me. >>=20 >>=20 >>=20 >> Stephen F Braun >> sbraun1@twcny.rr.com >>=20 >> On Fri, Oct 31, 2014 at 9:02 AM, Terry Wilson = wrote: >> The first one.=20 >>=20 >> Use [url] when certain characters would trip up the code. Remember it = because you'll need [url] to fix spaces in urls. But anywhere a &, $, !, = space, etc could be a problem: commonly, all = search/append/replace/delete tags (&), showif/hideif (!), urls. Note = that you don't have to waste your time url'ing every damn value written = to a db. If you control the value and know it's clean, like a T or F or = a number or word from a value list, no need. When a user inputs or you = pull something like company names from a db, that's when you need it. >>=20 >> [input] is used when quote marks and returns will trip things up. = Values within tags and in java scripts. Not just in = but also in all other tags, i.e., = value=3D"[input][whatever][/input]" -- same idea about js. >>=20 >> [convertchars] to make things right again when you display text on = your page. >>=20 >> Terry >>=20 >> Sent from my iPad >>=20 >> On Oct 31, 2014, at 5:27 AM, Steve Braun = wrote: >>=20 >>> So which is the correct format when using >>> or >>> [input][/input] >>> or >>> >>> or >>> [input][/input] >>>=20 >>>=20 >>> And Tom says that the issue may be in my display template not on my = input template. I'm using convertchars tag? Is that correct? >>> [convertchars][lTEXT_1][/convertchars] >>>=20 >>> Thanksomuch, >>> sfb >>>=20 >>>=20 >>>=20 >>>=20 >>> Stephen F Braun >>> sbraun1@twcny.rr.com >>>=20 >>> On Tue, Sep 2, 2014 at 7:21 AM, Tom Duke = wrote: >>> Steve, >>>=20 >>> Hi - all looks ok to me, though I would generally use [input] tags = for text inputs: >>>=20 >>> [input][LINK_URL][/input]" type=3D"text" = name=3D"LINK_URL"> >>>=20 >>> Maybe the issue is on your display template, not the form / data = input template. >>>=20 >>> - Tom >>>=20 >>>=20 >>> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >>>=20 >>> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >>=20 >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us Donovan Brooke

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:

WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Deleting Orders (1998) Include Files (1998) Missing Cart Information (2003) WebCat2: Items xx to xx shown, etc. (1997) updating the database (2000) Frames and WebCat (1997) WebCatalog not running after upgrade (2000) [WebDNA] client request (2010) Error:Too many nested [xxx] contexts (1997) [WebDNA] Quick grep... Govinda?? (2010) Post arguments problem mac? (1997) Happy Holidays! (1998) WebSite and *NO* Authentication Dialog Box!!? (1998) PCS Frames-Default page is solution! (1997) Help! WebCat2 bug (1997) ListVariables Problem (2003) Running _every_ page through WebCat ? (1997) getchars broken? (1997) File Upload (1997)