I have a form that I can not edit directly. It is a form used from a provider. They do not format the text in the box. I.E. the name box can be entered as all lowercase or all uppercase. I want the text to be proper like: David.
The problem is that I can’t access the form and change the “onblur” property (event).
I can, however, add text (or javascript) before or after the form. I have tried several variations of the code below with out achieving the results I am looking for. That leaves me with the burning question: Is it possible to use a statement like:
<script language=”JavaScript1.2″ type=”text/javascript”>
document.vw-form.ship-firstname.onfocus=”format()”;
</script>
to change the onblur property (event) to call a function to format the text in the box? Is it possible to change or use any event after the fact at all?
Any assistance is appreciated. If my question isn’t clear, please let me know how I can clear it up for you.
Dave