Use the Personalize snippet which does exactly that.
This is an application for eForm. You should be able to find much helpful information there, and there’s even a dedicated support Topic for eForm.I certainly is.. and look here I’ve done all the hard work