Remove Special Characters on textbox using onpaste event

Hi Team,

I have input fields (Firstname, Middlename, Lastname) on my application and I want to reject all special characters using onpaste event on its extended property. Is there a way to make this?

Thanks in Advance




What's is your question, exactly, because the answer is in your answer... ??

Here is an example using:

Just use the extended attributes to set the right JavaScript. 

Here you have many ways of defining the on paste event for an input. It may be worth go through the topic.

I didn't test this, but it should work.