Subscription modules are a lite version of the form type focused on gathering the minimum amount of user data necessary to maintain communication. By default only email address will be collected by a subscription module.
var module = new pathfora.Subscription({
id: 'my-subscription-module-id',
headline: 'My Headline Text',
msg: 'My message text here.'
});
pathfora.initializeWidgets([module]);
layout
Define which layout type the form module should use.
layout string |
|
Value | Behavior |
---|---|
modal | module uses a modal layout |
slideout | module uses a slideout layout |
bar | module uses a bar layout |
inline | module uses a inline layout |