How to Add Form Validation and Filters to the Grid

This is our third article in a series of blog posts about how to customize programs created with the WebSmart ILE Page At a Time(Grid) template. Previously, we showed you how to customize column sorting options and how to create color themes for the Grid and other jQuery widgets. The examples below explain how to add form validation and additional filters, both of which make it easier for users to work with grid-based programs.

How to validate data when adding or changing records (Example 264)
In this example, you’ll reduce data entry errors by introducing client-side validation to the Grid’s Add and Change Record forms. jQuery Validate is used to add dynamic, nicely-styled error messages to form inputs. View example »

Form validation on an Add Record form

How to add additional filters after completing the grid template wizard (Example 255)
Filters are added to the grid when you create the initial program definition but you can manually add additional filters at any time after completing the template wizard. This example will walk you through creating a filter in the PML source code then adding the HTML to the GridContainer segment. View example »

Please contact Technical Support if you have any questions.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>