Making field required
Hi,
I am using version 1.0 of the grid with the mytemplate.js that everyone is using in their great examples.
My question is how can I modify the mytemplate to make the field required only in some cases.
For example:
Column 2 is a plain text input - but not required
Column 3 is a plain text input - but required
It is expected that when the user steps off the row, the code would check each element and based on the field's required property, would fire off an error message saying the field is required.
What would be the most efficient and elegant way to do this? Is there already an example out there?
I am using version 1.0 of the grid with the mytemplate.js that everyone is using in their great examples.
My question is how can I modify the mytemplate to make the field required only in some cases.
For example:
Column 2 is a plain text input - but not required
Column 3 is a plain text input - but required
It is expected that when the user steps off the row, the code would check each element and based on the field's required property, would fire off an error message saying the field is required.
What would be the most efficient and elegant way to do this? Is there already an example out there?
Frank (Canada)
January 31,