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:

Form and Context Searching -Hideif/Showif (2000) WebCat2 - Getting to the browser's username/password data (1997) PIXO support (1997) [WebDNA] Facebook Application - Custom Tab for Fan / Non-Fan (2011) Nav. 4 probs with cart (1997) Using [detete] (1998) Comments in db? (1997) Bug Report, maybe (1997) help with writefile (1998) WebCat2 - storing unformatted date data? (1997) did I miss anything (1997) searching with groups (1997) [WebDNA] WebDNA licenses discount from 12/23 to 12/31 (2012) Document Contains No Data! (1997) 2nd WebCatalog2 Feature Request (1996) New Site Announcement (1998) Hiding the URL(was Cart ID Duplication) (2001) Is this google friendly? (2003) Stopping bad HTML propagation ? (1997) Special delete ... (1997)