Say that you have a three-column table, where the first column is intended for labels, the second for the form field, and the third for validation error messages. The best technique that I have discovered for integrating Spry Validation widgets into such a table is to begin by placing the widget in the middle cell of the row. Assuming you have a label in the first column, your code will look like this:
Name:
A value is required.
Next, move the id attribute, here id=???sprytextfield1???, from the outer to the
tag. Then, delete the outer tags; because you??™ve identified the entire row with the Spry ID, these are no longer necessary. Finally, move the tag with the required message to the third column. Your final code will look like this:
Name:
A value is required.
Unfortunately, this rearrangement of the code causes the Spry Property inspector not to be shown, so it is recommended that all adjustments to the widget take place prior to moving the code.