ID of the record.
Integer, default = null
If you defined a form that has .recid and .url properties defined, the form data will be loaded from the remote data source into the .record object.
You can defined it during object creation: $('#form').w2form({ name : 'form', recid : 10, url : '/server/url', 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(); } }, postData: [ param1 : 'value1', param2 : 'value2' ] }); Or you can change this property during run-time w2ui['form'].recid = 101; w2ui['form'].reload();