Setting a "Case Restriction" for Page Items/Tabular Form Columns

That’s the last posting about new features in the 1.02 release of the ApexLib Framework.

Ever wanted to set a case restriction (uppercase/lowercase/capitalize) for a field like you can do it in Oracle*Forms with the “Case Restriction” property?

Here you go!

There are three new ApexLib hints called

  • $APEXLIB_UPPERCASE$
  • $APEXLIB_LOWERCASE$
  • $APEXLIB_CAPITALIZE$

which can be set in the Page Item Comment or for Tabular Form Columns in the “Link Attributes” property.

If you set such a hint, the ApexLib Framework will automatically generate the necessary code for the browser and will also make sure that the values are stored with the correct case restriction when the page is submitted.

You can test this feature on the ApexLib Feature Demonstration site.

Leave a Reply