Blotus
11-17-2009, 11:51 AM
Hi,
Does anyone know how to invoke field validations before submit/save.
I have this piece of code on the form for save.
var saveBtn = {text: 'Save', icon: defaultImgPath+'Save-(16x16).gif', handler: ('click',function(){n_uidoc.save() }) }
I am trying to put a validation in the handler ,but it saves irrespective of validation.
Any help will be appreciated.
Does anyone know how to invoke field validations before submit/save.
I have this piece of code on the form for save.
var saveBtn = {text: 'Save', icon: defaultImgPath+'Save-(16x16).gif', handler: ('click',function(){n_uidoc.save() }) }
I am trying to put a validation in the handler ,but it saves irrespective of validation.
Any help will be appreciated.