<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/e3e81bfcf7654e15b5b6f5d3053808f5&quot; frameborder=&quot;0&quot; width=&quot;1280&quot; height=&quot;960&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>960</height><width>1280</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>960</thumbnail_height><thumbnail_width>1280</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/e3e81bfcf7654e15b5b6f5d3053808f5-00001.gif</thumbnail_url><duration>383</duration><title>Emails - runaway peacock - 18 May 2022</title><description>**ADD TO GRAVITY FORM**
Here is the HTML added  at the top of the form:
 Select all Emails

Here is the sctipt used in the Jquery HTML Block:

jQuery(function ($) {
    jQuery(&quot;#selectall&quot;).click(function() {
        jQuery(&quot;.check_email&quot;).prop(&quot;checked&quot;, this.checked);
    });
    jQuery(&quot;.selectedId&quot;).change(function() {
        var check = jQuery(&quot;.check_email&quot;).filter(&quot;:checked&quot;).length == jQuery(&quot;.check_email&quot;).length; 
        jQuery(&quot;#selectall&quot;).prop(&quot;checked&quot;, check);
    });
 jQuery(&apos;input[type=checkbox]&apos;).change(function() {
   // jQuery(&quot;.copy_emails&quot;).click(function() {
        var email_array = new Array();
        jQuery(&quot;input[name=&apos;emails&apos;]:checked&quot;).each(function() {
            email_array.push(jQuery(this).val());
        });
 
        var emails = email_array;
        var unique_emails = [];
        jQuery.each(emails, function(i, el){
            if(jQuery.inArray(el, unique_emails) === -1) unique_emails.push(el);
        });
        var text = jQuery(&apos;#input_7_1&apos;);//Change &apos;7&apos; to your form ID and &apos;1&apos; to the field ID that will hold the array of emails
        text.val(unique_emails);  
    });
});


***ADD TO GRAVITYVIEW CUSTOM CONTENT FIELD***
 {email:3} // replace&apos;{email:3} with the merge tag of your email field</description></oembed>