If I want to display a certain field in a formatted form when the page is displayed, on what event can I do this.
e.g. I have the text box for phone number on my Edit form. I have written a javascript to format the phone number. However, when the Edit form is displayed, I want to display the phone number in a formatted form. On what event of the <input>tag can I call the javascript for formatting the phone, so that when the Edit form is displayed, it shows the phone in a formatted form.
Please help.
Thanks.
e.g. I have the text box for phone number on my Edit form. I have written a javascript to format the phone number. However, when the Edit form is displayed, I want to display the phone number in a formatted form. On what event of the <input>tag can I call the javascript for formatting the phone, so that when the Edit form is displayed, it shows the phone in a formatted form.
Please help.
Thanks.