<?xml version="1.0" encoding="utf-8"?>
<form>
    <fieldset name="service">
        <field name="endpoint" type="nrtext"
            label="PLG_CONVERTFORMS_ACTIVECAMPAIGN_API_URL"
            description="PLG_CONVERTFORMS_ACTIVECAMPAIGN_API_URL_DESC"
            hint="http://account.api-us1.com"
            urltext="PLG_CONVERTFORMS_ACTIVECAMPAIGN_API_URL_FIND"
            url="https://www.tassos.gr/joomla-extensions/convert-forms/docs/sync-leads-with-activecampaign"
            required="true"            
            class="input-xlarge">
        </field>
        <field name="api" type="nrtext"
            label="PLG_CONVERTFORMS_ACTIVECAMPAIGN_KEY"
            description="PLG_CONVERTFORMS_ACTIVECAMPAIGN_KEY_DESC"
            class="input-xlarge"
            urltext="PLG_CONVERTFORMS_ACTIVECAMPAIGN_KEY_FIND"
            url="https://www.tassos.gr/joomla-extensions/convert-forms/docs/sync-leads-with-activecampaign"
            required="true"
        />
        <field name="list" type="servicelists"
            label="PLG_CONVERTFORMS_ACTIVECAMPAIGN_LIST"
            description="PLG_CONVERTFORMS_ACTIVECAMPAIGN_LIST_DESC"
            class="input-xlarge"
            required="true"
        />
        <field name="updateexisting" type="radio"
            label="PLG_CONVERTFORMS_ACTIVECAMPAIGN_UPDATE_EXISTING_USER"
            description="PLG_CONVERTFORMS_ACTIVECAMPAIGN_UPDATE_EXISTING_USER_DESC"
            class="btn-group btn-group-yesno"
            default="1">
            <option value="0">JNO</option>
            <option value="1">JYES</option>
        </field>
    </fieldset>
</form>