Re: [WebDNA] Old Problem, the exclamation point

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111646
interpreted = N
texte = --bcaec51a7c368a8ac20506b8559c Content-Type: text/plain; charset=UTF-8 Thanks Terry. This has always confused me. Stephen F Braun sbraun1@twcny.rr.com On Fri, Oct 31, 2014 at 9:02 AM, Terry Wilson wrote: > The first one. > > 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. > > [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="[input][whatever][/input]" -- same > idea about js. > > [convertchars] 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 wrote: > > So which is the correct format when using > or > [input][/input] > or > > or > [input][/input] > > > 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] > > Thanksomuch, > sfb > > > > > Stephen F Braun > sbraun1@twcny.rr.com > > On Tue, Sep 2, 2014 at 7:21 AM, Tom Duke wrote: > >> Steve, >> >> Hi - all looks ok to me, though I would generally use [input] tags for >> text inputs: >> >> >> >> Maybe the issue is on your display template, 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: >> 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 > > --------------------------------------------------------- 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 > --bcaec51a7c368a8ac20506b8559c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks Terry.=C2=A0=C2=A0 This has always confused me.
=


Stephen F Braun
sbraun1@twcny.rr.com

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

U= se [url] when certain characters would trip up the code. Remember it becaus= e you'll need [url] to fix spaces in urls. But anywhere a &, $, !, = space, etc could be a problem: commonly, all search/append/replace/delete t= ags (&), 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 va= lue list, no need. When a user inputs or you pull something like company na= mes from a db, that's when you need it.

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

[convertchars] to make things ri= ght again when you display text on your page.

Terr= y

Sent from my iPad

On O= ct 31, 2014, at 5:27 AM, Steve Braun <sbraun1@twcny.rr.com> wrote:

So which is the correct = format when using <textarea> for data entry?

<textarea name= =3D"TEXT_1"=C2=A0 cols=3D"115" rows=3D"5">= [input][TEXT_1][/input]</textarea>
or
[input]<textarea name= =3D"TEXT_1"=C2=A0 cols=3D"115" rows=3D"5">= [TEXT_1]</textarea>[/input]
or
<textarea name=3D"TEXT_1= "=C2=A0 cols=3D"115" rows=3D"5">[url][TEXT_1][/= url]</textarea>
or
[input]<textarea name=3D"TEXT_1"= ;=C2=A0 cols=3D"115" rows=3D"5">[url][TEXT_1][/url]&= lt;/textarea>[/input]


And Tom says that the issue may be in my display template not on my input=20 template.=C2=A0=C2=A0 I'm using convertchars tag? =C2=A0=C2=A0 Is that = correct?
[convertchars][lTEXT_1][/convertchars]

Thanksomuch,
s= fb




Stephen F Braun
= sbraun1@twcny.rr.com

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

Hi - = all looks ok to me, though I would generally use [input] tags for text inpu= ts:

= =C2=A0 =C2=A0=C2=A0<input value=3D"[input][LINK_URL][/input]" type=3D"te= xt" name=3D"LINK_URL">

Maybe the issue is on your display= template, 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: suppo= rt@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: suppo= rt@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: suppo= rt@webdna.us

--bcaec51a7c368a8ac20506b8559c-- 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)
--bcaec51a7c368a8ac20506b8559c Content-Type: text/plain; charset=UTF-8 Thanks Terry. This has always confused me. Stephen F Braun sbraun1@twcny.rr.com On Fri, Oct 31, 2014 at 9:02 AM, Terry Wilson wrote: > The first one. > > 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. > > [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="[input][whatever][/input]" -- same > idea about js. > > [convertchars] 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 wrote: > > So which is the correct format when using > or > [input][/input] > or > > or > [input][/input] > > > 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] > > Thanksomuch, > sfb > > > > > Stephen F Braun > sbraun1@twcny.rr.com > > On Tue, Sep 2, 2014 at 7:21 AM, Tom Duke wrote: > >> Steve, >> >> Hi - all looks ok to me, though I would generally use [input] tags for >> text inputs: >> >> [input][LINK_URL][/input]" type="text" name="LINK_URL"> >> >> Maybe the issue is on your display template, 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: >> 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 > > --------------------------------------------------------- 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 > --bcaec51a7c368a8ac20506b8559c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks Terry.=C2=A0=C2=A0 This has always confused me.
=


Stephen F Braun
sbraun1@twcny.rr.com

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

U= se [url] when certain characters would trip up the code. Remember it becaus= e you'll need [url] to fix spaces in urls. But anywhere a &, $, !, = space, etc could be a problem: commonly, all search/append/replace/delete t= ags (&), 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 va= lue list, no need. When a user inputs or you pull something like company na= mes from a db, that's when you need it.

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

[convertchars] to make things ri= ght again when you display text on your page.

Terr= y

Sent from my iPad

On O= ct 31, 2014, at 5:27 AM, Steve Braun <sbraun1@twcny.rr.com> wrote:

So which is the correct = format when using <textarea> for data entry?

<textarea name= =3D"TEXT_1"=C2=A0 cols=3D"115" rows=3D"5">= [input][TEXT_1][/input]</textarea>
or
[input]<textarea name= =3D"TEXT_1"=C2=A0 cols=3D"115" rows=3D"5">= [TEXT_1]</textarea>[/input]
or
<textarea name=3D"TEXT_1= "=C2=A0 cols=3D"115" rows=3D"5">[url][TEXT_1][/= url]</textarea>
or
[input]<textarea name=3D"TEXT_1"= ;=C2=A0 cols=3D"115" rows=3D"5">[url][TEXT_1][/url]&= lt;/textarea>[/input]


And Tom says that the issue may be in my display template not on my input=20 template.=C2=A0=C2=A0 I'm using convertchars tag? =C2=A0=C2=A0 Is that = correct?
[convertchars][lTEXT_1][/convertchars]

Thanksomuch,
s= fb




Stephen F Braun
= sbraun1@twcny.rr.com

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

Hi - = all looks ok to me, though I would generally use [input] tags for text inpu= ts:

= =C2=A0 =C2=A0=C2=A0<input value=3D"[input][LINK_URL][/input]" type=3D"te= xt" name=3D"LINK_URL">

Maybe the issue is on your display= template, 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: suppo= rt@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: suppo= rt@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: suppo= rt@webdna.us

--bcaec51a7c368a8ac20506b8559c-- Steve Braun

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:

X etc.... (1999) [WebDNA] Setting up a new server, hierarchy question (2014) RE: [WebDNA] DNA suffix (2008) 2.0 Info (1997) Re:[off] Promotions Co? (1997) FAX orders (1996) database with 10,000+ web pages stored in it? (2000) Rendering out a page (1997) Sendmail truncation in Eudora Clients (1998) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) WebCatalog can't find database (1997) mass mailing and mass hysteria (1998) WebCat2b13MacPlugin - [math][date][/math] problem (1997) CASTEGORIES IN DIFFERENT FRAMES (1997) Search returns all, not 20 (1997) Just testing (2003) Large databases in WebCat (1997) take me off mailing list please (2001) Macs and SQL (2000) [ot] g5 xserve drives (2004)