Hi Sven,

[email protected] wrote:

I am trying to validate the users input in a FormTable.

If the user submits the page and there is a validation error I am using
getForm().setError("ErrorMessage") to notify the Form about the error.

But the validation error is never shown above (or below) the Form.

Any hints what I am doing wrong?
Is there a better way to validate a FormTable?


Not currently no since FormTable does not render the Form's error message.

I see two options available:

- in your page template declare an $errorMsg which you pass from the Page via addModel("errorMsg", "ErrorMessage")

- use FormTable with an external Form whereby the Form will render the Table instead of the other way around. This way Form will render as it always does with error messges etc.

kind regards

bob

Reply via email to