Monday 18 October 2010

Tabular Form - Highlighting and Focus in Validations

I like the new feature of 4.0 tabular form validations a lot. If you create a validation on a column, you will get the highlighting and focus out of the box. Based on that, I created a small example for those cases where you can't use the standard validations and still need to do it by hand. It works the similar way except that the highlighting will only work after clicking the link in the message. You can find that example in my Demo Application.

5 comments:

Arave said...

Denes,
Well Done!
Todd

Juan David said...

It works well when I modify columns. But values dissapear when I add rows in apex 4....

Unknown said...

I agree with Juan David. In Apex 4 the validation works correctly in that it identifies the rows and what the errors are, but clears out any new rows that were added to the tabular form.
Normal tabular form validations in Apex 4 don't seem to work properly either! Especially when you have other page_item validations in place.

Denes Kubicek said...

I just added "Add Rows" button in that example and nothing disappears.

Denes Kubicek

Anonymous said...

If you put in an invalid value (e.g. 5000) it does indeed disappear.