How to know the duration it takes a user to complete a form?