Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The LANSA framework adds the option of displaying validation errors within the page, usually next to the field. To enable this behavior, you must add the class "lstdErrorShowInDiv" to the page <div> in your layout. The standard shipped layouts do this using the validationErrorDisplay property. You must also provide the <div> tags that will display the error. There must be one error <div> for each field. The <div> must have an ID of "{Field ID}_id" and a class of "lstdFieldError". For example:

...