Form type modules are used primarily for data collection or user identification. Supporting a variety of form fields and options for passing data to various end-points, this type presents a form for the user to fill out and submit.
var module = new pathfora.Form({
id: 'my-form-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 |
inline | module uses a inline layout |