inputEx - CombineField Usage

Basic CombineField creation

new YAHOO.inputEx.CombineField({ parentEl: 'container1', label: 'Your name', description: 'Please enter your name', fields: [ { inputParams: {name: 'firstname', typeInvite: 'firstname'} }, { inputParams: {name: 'lastname', typeInvite: 'lastname'} } ], separators: [false," ",false], required:true });

Basic CombineField creation

new YAHOO.inputEx.CombineField({ parentEl: 'container2', label:'Select Datetime :', fields: [ {type: 'date', inputParams: {name: 'date', typeInvite: 'mm/dd/YYYY'} }, {type: 'time', inputParams: {name: 'time'} } ], separators: [false," ",false] });