Is it possible to save an email address even if the form is not submitted


Based on what you have shared, I'm not sure if you want to store the email addresses temporarily or permanently. You can use the localStorage for saving and recovering any information the user provided while filling in the form, in case they decided to come back after abandoning it.
But on the other hand, if you want to save a list of email addresses to act on later. For example, sending a reminder email to users in question about filling in their abandoned forms or something. Your best bet would be to create a new model and a controller to build an API endpoint that can be called by your JavaScript code using AJAX whenever the user fills in their email address.
But on the other hand, if you want to save a list of email addresses to act on later. For example, sending a reminder email to users in question about filling in their abandoned forms or something. Your best bet would be to create a new model and a controller to build an API endpoint that can be called by your JavaScript code using AJAX whenever the user fills in their email address.
Notifications
You’re not receiving notifications from this thread.