<v65:subscribe contactType="Newsletter"></v65:subscribe>
Description: Creates a simple form with an email field and a subscribe button. Subscribers are place by default into a Contact Type called "Newsletter" which must exist. You can alternatively create a different Contact Type and pass that in the tag.
Output:
<div id="v65-subscribeWidget">
<form method="post">
<inpu
t type="hidden" name="contactType" value="#attributes.contactType#" />
<input type="text" name="email" value="#rb('email')#">
<button type="submit" class="defaultBtn"><span>#rb('subscribe')#</span></button>
</form>
</div>Customization:
1. To customize the button text and thank you text you need to edit the resource bundle:
The elements you want to adjust are "subscribe" and "subscribeThankYouText"
3. Styling the form elements:
You can both the form field and the button by targeting the following IDs:
#v65-subscribeWidget input { }
#v65-subscribeWidget button { }