how to change background color of text input if no value is entered in the box while submitting the form
hi,
in the validation javascript, you can include following script to change the background of textInput
var sampleTextInputCtrl = CAF.model(‘#{activePageBean.clientIds[‘sampleTextInputControl’]}’);
sampleTextInputCtrl.element.style.backgroundColor=“yellow”;
Hope this helps.
regards,
Raja sekhar Kintali
hi Raja,
thank u very much…