<?xml version="1.0" encoding="utf-8"?>
<form>
    <fieldset name="emails" label="COM_CONVERTFORMS_EMAILS" tab="behavior" addfieldpath="plugins/convertforms/emails/form/fields">
        <field name="emails-deprecated" type="note"
            class="alert alert-warning"
            description="COM_CONVERTFORMS_EMAILS_DEPRECATION_MSG"
        />
        
        <field name="sendnotifications" type="nrtoggle" 
            label="COM_CONVERTFORMS_EMAILS_DESC"
        />
        
        
        <field name="emails" type="cfsubform"
            formsource="/plugins/convertforms/emails/form/fields.xml"
            hiddenLabel="true"
            multiple="true"
            showon="sendnotifications:1"
        />
        
    </fieldset>
</form>