It depends on the form software. It's bad practice to make the "from" address on the email which the website sends the same as the "from" address of the website visitor, since it will likely get flagged as spam due to SPF/DKIM.
Best practice is for the email to have some generic host-specific "from" address, e.g. email@example.com
and then set the "reply-to" address to match the address of the website visitor. This would not break SPF/DKIM rules whilst still allowing the recipient to reply to the email normally.
How you would do that varies depending on what form software you are using.
Edited by Oliver341 (Mon 09-Jul-18 13:32:25)