By default, we take email as the replyto address. So if your form has an email input, you don't need to configure anything. In the submission you receive, you can see the reply to email.
However, If you want to add a custom replyto email address, you can use the following code.