Re: [WebDNA] Old Problem, the exclamation point

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111647
interpreted = N
texte = --Apple-Mail-92B7BEB1-F879-4294-A506-5F725C8FD381 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Trust me on this --you aren't the only one! Sent from my iPad > 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 bec= ause 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'i= ng every damn value written to a db. If you control the value and know it's c= lean, like a T or F or a number or word from a value list, no need. When a u= ser inputs or you pull something like company names from a db, that's when y= ou need it. >>=20 >> [input] is used when quote marks and returns will trip things up. Values w= ithin tags and in java scripts. Not just in but also in a= ll other tags, i.e., value=3D"[input][whatever][/input]" -- same ide= a about js. >>=20 >> [convertchars] to make things right again when you display text on your p= age. >>=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] >>>=20 >>>=20 >>> And Tom says that the issue may be in my display template not on my inpu= t 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 t= ext inputs: >>>>=20 >>>> >>>>=20 >>>> Maybe the issue is on your display template, not the form / data input t= emplate. >>>>=20 >>>> - Tom >>>>=20 >>>>=20 >>>> --------------------------------------------------------- This message i= s sent to you because you are subscribed to the mailing list . To unsubscrib= e, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Report= ing: support@webdna.us >>>=20 >>> --------------------------------------------------------- This message i= s sent to you because you are subscribed to the mailing list . To unsubscrib= e, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Report= ing: 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 Reporti= ng: support@webdna.us >=20 > --------------------------------------------------------- This message is s= ent 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 --Apple-Mail-92B7BEB1-F879-4294-A506-5F725C8FD381 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Trust me on this --you aren't the only= one!

Sent from my iPad

On Oct 31, 2014, at 6:54 AM, St= eve Braun <sbraun1@twcny.rr.com> wrote:



On Fri, Oct 31, 2014 at 9:02 AM, Terry Wilson= <terry@terryfic.com> wrote:
The first one. 

Use [u= rl] 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 c= ould be a problem: commonly, all search/append/replace/delete tags (&), s= howif/hideif (!), urls. Note that you don't have to waste your time url'ing e= very damn value written to a db. If you control the value and know it's clea= n, 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 n= eed it.

[input] is used when quote marks and returns will trip things= up. Values within <input> tags and in java scripts. Not just in <t= ext area> but also in all other <input> tags, i.e., value=3D"[input= ][whatever][/input]" -- same idea about js.

[conver= tchars] to make things right again when you display text on your page.
=

Terry

Sent from my iPad

On Oct 31, 2014, at 5:27 AM, Steve Braun <sbraun1@twcny.rr.com> w= rote:

So w= hich is the correct format when using <textarea> for data entry?
<textarea name=3D"TEXT_1"  cols=3D"115" rows=3D"5">[input][TEXT= _1][/input]</textarea>
or
[input]<textarea name=3D"TEXT_1"&nb= sp; cols=3D"115" rows=3D"5">[TEXT_1]</textarea>[/input]
or
&l= t;textarea name=3D"TEXT_1"  cols=3D"115" rows=3D"5">[url][TEXT_1][/u= rl]</textarea>
or
[input]<textarea name=3D"TEXT_1"  cols= =3D"115" rows=3D"5">[url][TEXT_1][/url]</textarea>[/input]

<= br>
And Tom says that the issue may be in my display template not on my input=20 template.   I'm using convertchars tag?    Is that corre= ct?
[convertchars][lTEXT_1][/convertchars]

Thanksomuch,
sfb
=



Stephen F Braun
sbraun1@tw= cny.rr.com

On Tue, Sep 2, 2014 at 7:21 AM, Tom Duke <tom@revolutionaries.ie> wrote:
Steve,

Hi - a= ll looks ok to me, though I would generally use [input] tags for text inputs= :

 = ;   &l= t;input value=3D"[input][LINK_URL][/input]" type=3D"text" name=3D"LINK_URL"&= gt;

Maybe the issue is on your display te= mplate, not the form / data input template.

- Tom


--------------------------------------------------------- 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: suppor= t@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: suppor= t@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: suppor= t@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
= --Apple-Mail-92B7BEB1-F879-4294-A506-5F725C8FD381-- 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)
--Apple-Mail-92B7BEB1-F879-4294-A506-5F725C8FD381 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Trust me on this --you aren't the only one! Sent from my iPad > 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 bec= ause 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'i= ng every damn value written to a db. If you control the value and know it's c= lean, like a T or F or a number or word from a value list, no need. When a u= ser inputs or you pull something like company names from a db, that's when y= ou need it. >>=20 >> [input] is used when quote marks and returns will trip things up. Values w= ithin tags and in java scripts. Not just in but also in a= ll other tags, i.e., value=3D"[input][whatever][/input]" -- same ide= a about js. >>=20 >> [convertchars] to make things right again when you display text on your p= age. >>=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] >>>=20 >>>=20 >>> And Tom says that the issue may be in my display template not on my inpu= t 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 t= ext inputs: >>>>=20 >>>> [input][LINK_URL][/input]" type=3D"text" name=3D"LI= NK_URL"> >>>>=20 >>>> Maybe the issue is on your display template, not the form / data input t= emplate. >>>>=20 >>>> - Tom >>>>=20 >>>>=20 >>>> --------------------------------------------------------- This message i= s sent to you because you are subscribed to the mailing list . To unsubscrib= e, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Report= ing: support@webdna.us >>>=20 >>> --------------------------------------------------------- This message i= s sent to you because you are subscribed to the mailing list . To unsubscrib= e, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Report= ing: 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 Reporti= ng: support@webdna.us >=20 > --------------------------------------------------------- This message is s= ent 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 --Apple-Mail-92B7BEB1-F879-4294-A506-5F725C8FD381 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Trust me on this --you aren't the only= one!

Sent from my iPad

On Oct 31, 2014, at 6:54 AM, St= eve Braun <sbraun1@twcny.rr.com> wrote:



On Fri, Oct 31, 2014 at 9:02 AM, Terry Wilson= <terry@terryfic.com> wrote:
The first one. 

Use [u= rl] 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 c= ould be a problem: commonly, all search/append/replace/delete tags (&), s= howif/hideif (!), urls. Note that you don't have to waste your time url'ing e= very damn value written to a db. If you control the value and know it's clea= n, 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 n= eed it.

[input] is used when quote marks and returns will trip things= up. Values within <input> tags and in java scripts. Not just in <t= ext area> but also in all other <input> tags, i.e., value=3D"[input= ][whatever][/input]" -- same idea about js.

[conver= tchars] to make things right again when you display text on your page.
=

Terry

Sent from my iPad

On Oct 31, 2014, at 5:27 AM, Steve Braun <sbraun1@twcny.rr.com> w= rote:

So w= hich is the correct format when using <textarea> for data entry?
<textarea name=3D"TEXT_1"  cols=3D"115" rows=3D"5">[input][TEXT= _1][/input]</textarea>
or
[input]<textarea name=3D"TEXT_1"&nb= sp; cols=3D"115" rows=3D"5">[TEXT_1]</textarea>[/input]
or
&l= t;textarea name=3D"TEXT_1"  cols=3D"115" rows=3D"5">[url][TEXT_1][/u= rl]</textarea>
or
[input]<textarea name=3D"TEXT_1"  cols= =3D"115" rows=3D"5">[url][TEXT_1][/url]</textarea>[/input]

<= br>
And Tom says that the issue may be in my display template not on my input=20 template.   I'm using convertchars tag?    Is that corre= ct?
[convertchars][lTEXT_1][/convertchars]

Thanksomuch,
sfb
=



Stephen F Braun
sbraun1@tw= cny.rr.com

On Tue, Sep 2, 2014 at 7:21 AM, Tom Duke <tom@revolutionaries.ie> wrote:
Steve,

Hi - a= ll looks ok to me, though I would generally use [input] tags for text inputs= :

 = ;   &l= t;input value=3D"[input][LINK_URL][/input]" type=3D"text" name=3D"LINK_URL"&= gt;

Maybe the issue is on your display te= mplate, not the form / data input template.

- Tom


--------------------------------------------------------- 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: suppor= t@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: suppor= t@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: suppor= t@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
= --Apple-Mail-92B7BEB1-F879-4294-A506-5F725C8FD381-- Terry Wilson

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:

Counting records (2000) Week # problem (1998) Starting WebCat under linux (2000) PCS Frames-Default page is solution! (1997) Shipcost update problem (1997) RE: shrink-wrapped version out yet? (1997) [WebDNA] OT: hosting fees (2008) Typhoon Rev. and PCS store problems (1999) WebCat2 several catalogs? (1997) WebCat templates for TyphoonPro admin (1999) UPS Rate Tool (hit and miss) (2003) WebCat with WebTen (1998) Search returns all, not 20 (1997) Browser Reloads and AddlineItem (1997) [LOOKUP] (1997) [group] ? (1997) Sorry WebDNA server not running ????? (2002) japanese characters (1997) Databases going to sleep (1998) Why doesn't it change? (1998)