Re: Limiting field entry to plain text

2011-10-27 Thread Peter M. Brigham, MD
It occurred to me a little belatedly that someone might be interested in a handler I use for pasting unformatted text (so that it matches the text formatting of the target field). I have this in my LC frontscript, so it's available to me everywhere in LC: on commandKeyDown pKey -- command-co

Re: Limiting field entry to plain text

2011-10-25 Thread Peter M. Brigham, MD
On Oct 25, 2011, at 3:05 PM, Terry Judd wrote: > > On 26/10/2011, at 05:51 AM, John Brozycki wrote: > >> Hi all, >> >> I have an input field that accepts URLs. If a user copies a URL from an >> email or a website and pastes it, it is pasted in HTML format. I only want >> the field to be pla

Re: Limiting field entry to plain text

2011-10-25 Thread John Brozycki
Thanks, Terry and Klaus for responding. I used Klaus' recommendation. Sure enough, there WAS a better way! On Oct 25, 2011, at 3:46 PM, Klaus on-rev wrote: > Hi John, > > Am 25.10.2011 um 21:05 schrieb Terry Judd: > >> On 26/10/2011, at 05:51 AM, John Brozycki wrote: >> >> Hi all, >> >> I h

Re: Limiting field entry to plain text

2011-10-25 Thread Klaus on-rev
Hi John, Am 25.10.2011 um 21:05 schrieb Terry Judd: > On 26/10/2011, at 05:51 AM, John Brozycki wrote: > > Hi all, > > I have an input field that accepts URLs. If a user copies a URL from an > email or a website and pastes it, it is pasted in HTML format. I only want > the field to be plain

Re: Limiting field entry to plain text

2011-10-25 Thread Terry Judd
On 26/10/2011, at 05:51 AM, John Brozycki wrote: Hi all, I have an input field that accepts URLs. If a user copies a URL from an email or a website and pastes it, it is pasted in HTML format. I only want the field to be plain text. I can set the font and size, but it seems like fields alway

Limiting field entry to plain text

2011-10-25 Thread John Brozycki
Hi all, I have an input field that accepts URLs. If a user copies a URL from an email or a website and pastes it, it is pasted in HTML format. I only want the field to be plain text. I can set the font and size, but it seems like fields always exist with (plain)text and htmltext states and L