=--Apple-Mail-92B7BEB1-F879-4294-A506-5F725C8FD381-- Associated Messages, from the most recent to the oldest:T=hanks Terry. This has always confused me.---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listOn 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 iPadSo 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=20template. I'm using convertchars tag? Is that corre=ct?
[convertchars][lTEXT_1][/convertchars]
Thanksomuch,
sfb
=---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppor=t@webdna.usOn Tue, Sep 2, 2014 at 7:21 AM, Tom Duke<tom@revolutionaries.ie> wrote: ---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppor=t@webdna.usSteve,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 tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppor=t@webdna.us.To unsubscribe, E-mail to: archives: http://mail.=webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
|
=--Apple-Mail-92B7BEB1-F879-4294-A506-5F725C8FD381-- Terry WilsonT=hanks Terry. This has always confused me.---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listOn 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 iPadSo 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=20template. I'm using convertchars tag? Is that corre=ct?
[convertchars][lTEXT_1][/convertchars]
Thanksomuch,
sfb
=---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppor=t@webdna.usOn Tue, Sep 2, 2014 at 7:21 AM, Tom Duke<tom@revolutionaries.ie> wrote: ---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppor=t@webdna.usSteve,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 tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppor=t@webdna.us.To unsubscribe, E-mail to: archives: http://mail.=webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
DOWNLOAD WEBDNA NOW!
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...