w2ui
Home
Get started
Demos
Docs
Blog
Support
Layout
Grid
Toolbar
Sidebar
Tabs
Form
Popup
Utilities
ver 1.3
ver 1.4
ver 1.5
ver 2.0
Form
Overview
Events
Properties
Methods
Fields
Numeric
Date & Time
Drop Lists
Multi Selects
Upload
Custom
w2form.pageStyle
Additional style for each form page div
String, default = ''
Setting this value can be useful if you have multiple auto-generated forms on the same page.
In this example, each page will have a red boder arround it
let form = new w2form({ name : 'form', pageStyle: 'border: 1px solid red', fields : [ { field: 'first_name', type: 'text', html: { text: 'First Name', page: 1 } }, { field: 'zip', type: 'int', html: { text: 'Zip', page: 1 } }, { field: 'short_bio', type: 'text', html: { text: 'Short Bio', page: 1 } }, { field: 'description', type: 'text', html: { text: 'Talk Description', page: 1 } } ] });
User Comments
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus