Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
wolfpacker webforumsuser@macromedia.com #1
Special Characters in a text box for a form
I am creating a page the deals with users entering information into a form which is then loaded to a database. no big deal.
however, this often requires userse to enter special characters such as trademark (TM) symbols and greek symbols (for formulas).
Any ideas as to how to handle this??
wolfpacker webforumsuser@macromedia.com Guest
-
Dynamic text, system fonts, and special characters...
This one is boggling my mind so if someone can help, please do :). I've got a dynamic text area pulling text from a MySQL database via AMFPHP.... -
export Special characters from .swf to Lotus Notes Form
In a Lotus Notes form, i have embedded a flash swf. Through this, users can submit applications, and I send the data to the Notes form with loadvar... -
HTML form fields and special characters
How can I read the value of form fields with special characters such az comma, space, doller sign, star, slash,... in their name? When I dump... -
Help. special characters in a text box
Hey I've a big problem: I need to load in a textbox a long text saved in a ascii file. Everithing works BUT when among the text contains a... -
special characters in tagged text
hello, i'm new to indesign (long time ventura user but couldn't stand stability issues no more) and i need some info about special characters... -
Ed Cottrell #2
Re: Special Characters in a text box for a form
Hi,
Either they will have to enter ASCII codes or HTML character codes (like
™) or you can create set of buttons with JavaScript actions to insert
the appropriate HTML. Here's a handy link:
[url]http://www.geocities.com/dang65/bitsofcode/format.htm[/url]
View source and you'll see a JavaScript sample that lets you do some things
very similar to what you're wanting to do.
-Ed
--
President
Topsail Consulting - Web Design and Software Development
[url]http://www.topsailconsulting.com[/url]
"To give anything less than your best is to sacrifice the gift."
- Steve Prefontaine, American distance runner
"wolfpacker" <webforumsuser@macromedia.com> wrote in message
news:bsv52j$f5m$1@forums.macromedia.com...which is then loaded to a database. no big deal.> I am creating a page the deals with users entering information into a formtrademark (TM) symbols and greek symbols (for formulas).>
> however, this often requires userse to enter special characters such as>
> Any ideas as to how to handle this??
>
>
>
Ed Cottrell Guest
-
mick_white #3
Re: Special Characters in a text box for a form
That appears to work only on IE Windows, Ed. It could be amended to be
cross browser, though.
Mick
Ed Cottrell wrote:> Hi,
>
> Either they will have to enter ASCII codes or HTML character codes (like
> ™) or you can create set of buttons with JavaScript actions to insert
> the appropriate HTML. Here's a handy link:
>
> [url]http://www.geocities.com/dang65/bitsofcode/format.htm[/url]
>
> View source and you'll see a JavaScript sample that lets you do some things
> very similar to what you're wanting to do.
>
> -Ed
>mick_white Guest
-
Ed Cottrell #4
Re: Special Characters in a text box for a form
You're right, Mick. A little Googling turned up nothing useful... I did find
a number of folks who had begun and abandoned such projects, though... :)
The only cross-browser solution I know works for sure is to only append the
inserted info to the end of the area in Netscape. Better yet, use Flash -
this is one of those areas for which Flash really is the better solution, if
you really need it to work cross-browser.
-Ed
--
President
Topsail Consulting - Web Design and Software Development
[url]http://www.topsailconsulting.com[/url]
"To give anything less than your best is to sacrifice the gift."
- Steve Prefontaine, American distance runner
"mick_white" <mick@BOGUSgerrytimlin.com> wrote in message
news:3FF5990E.6060504@BOGUSgerrytimlin.com...insert> That appears to work only on IE Windows, Ed. It could be amended to be
> cross browser, though.
> Mick
>
> Ed Cottrell wrote:> > Hi,
> >
> > Either they will have to enter ASCII codes or HTML character codes (like
> > ™) or you can create set of buttons with JavaScript actions tothings> > the appropriate HTML. Here's a handy link:
> >
> > [url]http://www.geocities.com/dang65/bitsofcode/format.htm[/url]
> >
> > View source and you'll see a JavaScript sample that lets you do some>> > very similar to what you're wanting to do.
> >
> > -Ed
> >
Ed Cottrell Guest
-
mick_white #5
Re: Special Characters in a text box for a form
You should be able to do it in NN7, but I'm not sure how.
document.getSelection() perhaps?
You may have a problem with losing focus, though.
Mick
Ed Cottrell wrote:> You're right, Mick. A little Googling turned up nothing useful... I did find
> a number of folks who had begun and abandoned such projects, though... :)
>
> The only cross-browser solution I know works for sure is to only append the
> inserted info to the end of the area in Netscape. Better yet, use Flash -
> this is one of those areas for which Flash really is the better solution, if
> you really need it to work cross-browser.
>
> -Ed
>mick_white Guest
-
gajett #6
Re: Special Characters in a text box for a form
What about just placing some of the most used chars on the page for a copy &
paste? I realize this is not the most friendly way to to it, but it *is*
cross browser compatible, and most people are familiar with it. The
JavaScript solution of a click & insert would be ideal, tho.>> >
gajett Guest



Reply With Quote

