I'm trying to build a custom form with custom "user input" fields and I've connected every field to a database collection. Then I've used sendgrid API to deliver the form submissions to a specific email. Everything work perfectly, but I need more: this form is a sort of order request for a food distribution company that have about to ten customers, each with his different inputs (or one different/three same/etc). In order to understand WHO has submitted the form I was thinking in these ways, but I can't figure out which is the most useful and doable:
- Add the user email on sendgrid code to print it on form submission email
- Redirect user after login on his specific form (based on his mail or other fixed parameter)
- Change the content of a dynamic page on specific user id (different forms for different users)
What are the best solutions and how can I apply them?
Thank you very much!