Hello,
I want help about Contact module in SugarCRM open source (4.5.1e). In the EditView, I have added 4 custom fields of type checkbox. Say check1, check2, check3, check4.
Now I want to add an event to the first checkbox check1, such as when the user select the first checkbox, all the other checkboxes should be disabled. and if the user clears the first check box, then all the other checkboxes should be enabled back.
I added onblur="return updateCheck(EditView)" attribute to the check1 checkbox item. I have also added the javascript function (updateCheck(EditView)) in the same EditView file. In the javascript function, initially I am checking whether the check box is selected or clear. But, when I open the EditView in the browser and click on the first check box I got an error message as the check box is undefined.
Please let me know if I am doing this correctly.
Thanks
Charudatta


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks