DHTMLX Docs & Samples Explorer

setNote(name, value, note)

adds the note block under the specified input

Parameters:

  • name - the id of item (the item's parameter 'name')
  • value - the value of a radio button ( the radio's parameter 'value'). Required for 'radio' items only
  • note - the note object
myForm.setNote('prj_name', { text: "Enter your project name here. This field is required.", width:300} );