URL of the form HTML template.
String, default = ''
There are four ways you can define form HTML template (in order of preference):

- .formURL - load from server
- .formHTML - define in JavaScript
- innerHTML of.box
- auto generated (see .generateHTML)

The following example shows how to load HTML template from a URL $('#form').w2form({ name : 'form', style : 'border: 0px; background-color: transparent;', formURL : '/server/path', fields: [ { name: 'first_name', type: 'text', required: true }, { name: 'last_name', type: 'text', required: true }, { name: 'email', type: 'email' } ], record: { first_name : 'John', last_name : 'Doe', email : 'jdoe@email.com' }, actions: { "save": function () { this.validate(); }, "reset": function () { this.clear(); } } }); You will still need a container #form to render the form.