Text restriction in Entry Field?

ruprety Community Member Posts: 81
Is there a way we can restrict entry field from accepting text. I am creating a assessment with entry field that should accept only number no text. I am thinking there may some kind of javascript that we can add. Any idea?

I am using Lectora V2007.