After selecting multiple user emails, I receive the following data:
"participants" : "<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="294b5b404847695d41405b4d5b465c5d4c074a4644">[email protected]</a>,<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="1a74737175767b5a6e7f69767b34797577">[email protected]</a>,<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="b8cbd7d5ddd7d6ddf8dfd5d9d1d496dbd7d5">[email protected]</a>",
However, my objective is to store them as a JSON or JavaScript object for tracking each email individually. The desired format is:
"participants" : "{
{email:<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="30524259515e704458594254425f4544551e535f5d">[email protected]</a},
{email:<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="214f484a4e4d40615544524d400f424e4c">[email protected]</a>}
}
I have a requirement to manage and process these emails separately in the future. To select multiple users, I utilized selectize.js which allows tagging list of emails.