How to monitor time it takes a user to enter data into a input text field?

Is there any tool that does this? or should i implement it from the code?