|
Posted by Whit on 11/25/14 11:57
I don't want to use onchange, because the user needs to see that the
changes are legit before submitting. With onchange the submit button
could be pressed before the swap occurs.
I have a button that allows them to turn this auto-formatting off, but
it really needs to occur in place. If they are frustrated, they can
kill it.
-- whit
Jonathan N. Little wrote:
> Whit wrote:
> > I'm sorry, I wasn't explicit enough, I meant to say capitalize the
> > first letter of each word. Meaning I have to read the whole string, cap
> > the first letter of words and un-cap the rest, then re-assign it ... I
> > have already written the function for this. But re-assignment of the
> > whole string causes the field to forget where the cursor is ...
>
> Simple too, don't over-manage, process on the 'onchange' and not
> 'onkeyup' and your problem will be solved and you will not frustrate
> your visitors.
>
> --
> Take care,
>
> Jonathan
> -------------------
> LITTLE WORKS STUDIO
> http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|