Validation for textbox
713926Sep 1 2009 — edited Sep 3 2009Hi,
I am new to ADF. I have seven rows each for a day in a week on the page. In the page, there is a "comments field" which user will enter his comments for a particular day. Table is being rendered using <af:table> and <af:tableSelectOne>. I want to make sure that user won;t submit the form with empty comment.
I added required="#{bindings.myView.mandatory}" in the <af:inputText> properties. But, once selected and click on "Submit" button, it is displaying message "A value must be entered." in all seven dates since initially all "Comments" value must be empty.
I would like to display error message just for selected date not all dates.
I would appreciate if somebody give me some idea. ANy response will be appreciated.
Thanks,
user7954680