Re: [WebDNA] Old Problem, the exclamation point

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111645
interpreted = N
texte = --Apple-Mail-6A0694E4-274D-426F-8916-4C42F7CCFF73 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable The first one.=20 Use [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, et= c could 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 wit= hin tags and in java scripts. Not just in but also in al= l other tags, i.e., value=3D"[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: >=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 input t= emplate. 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 te= xt inputs: >>=20 >> >>=20 >> Maybe the issue is on your display template, not the form / data input te= mplate. >>=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 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-6A0694E4-274D-426F-8916-4C42F7CCFF73 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
The first one. 

Use [url] when certain characters would trip up the code. Remember i= t 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 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 value list, no ne= ed. When a user inputs or you pull something like company names from a db, t= hat's when you need it.

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

[convertchars] to make things right again when you display text on yo= ur page.

Terry

Sent from my iPad

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

So which is the correct format w= hen 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"  cols=3D"115" rows=3D"5"&= gt;[TEXT_1]</textarea>[/input]
or
<textarea name=3D"TEXT_1"&n= bsp; cols=3D"115" rows=3D"5">[url][TEXT_1][/url]</textarea>
or[input]<textarea name=3D"TEXT_1"  cols=3D"115" rows=3D"5">[url]= [TEXT_1][/url]</textarea>[/input]


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: support@webdna.us
= --Apple-Mail-6A0694E4-274D-426F-8916-4C42F7CCFF73-- 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-6A0694E4-274D-426F-8916-4C42F7CCFF73 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable The first one.=20 Use [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, et= c could 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 wit= hin tags and in java scripts. Not just in but also in al= l other tags, i.e., value=3D"[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: >=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 input t= emplate. 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 te= xt 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 te= mplate. >>=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 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-6A0694E4-274D-426F-8916-4C42F7CCFF73 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
The first one. 

Use [url] when certain characters would trip up the code. Remember i= t 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 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 value list, no ne= ed. When a user inputs or you pull something like company names from a db, t= hat's when you need it.

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

[convertchars] to make things right again when you display text on yo= ur page.

Terry

Sent from my iPad

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

So which is the correct format w= hen 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"  cols=3D"115" rows=3D"5"&= gt;[TEXT_1]</textarea>[/input]
or
<textarea name=3D"TEXT_1"&n= bsp; cols=3D"115" rows=3D"5">[url][TEXT_1][/url]</textarea>
or[input]<textarea name=3D"TEXT_1"  cols=3D"115" rows=3D"5">[url]= [TEXT_1][/url]</textarea>[/input]


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: support@webdna.us
= --Apple-Mail-6A0694E4-274D-426F-8916-4C42F7CCFF73-- 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:

Emailer help....! (1997) Serving images from databases (1998) WebCat2final1 crashes (1997) RequiredFields template (1997) WebCatalog for guestbook ? (1997) Support ?? (1997) Time for a hard questions. (1997) HELP WITH DATES (1997) Stumpted Again (1997) Mozilla/4. and Browser Info.txt (1997) Sorry WebDNA server not running ????? (2002) Snake Bites (1997) Add a field to the error log? (1997) FW: 2.01 upgrade problems (1997) RequiredFields template (1997) http upload (2001) [WebDNA] Yosemite (2014) [WebDNA] A new popuated field to a DB with 700.000 records (2009) [WebDNA] Test - ignore (2019) email [title] (1997)