Double field validation

Hello
I have a boring behavior that I try to describe:

A field in the form must be validated.

Since the validation is requested when the user changes the content of the field, I have introduced a message with sc_error_message (‘Invalid field’); in case of wrong content.
For safety, the validation is also done when the form is submitted using the same approach.
In case the field contains an invalid value, the second validation presents a message duplicating the message for the error condition like

Blockquote

Invalid field
Field Name: Invalid Field

Blockquote

as if it memorized the last error condition verified.
It’s not blocking but definitely boring to watch.
Some idea?

Giorgio.

I cannot see what code you pasted, maybe try again?
Also, what Events are you pasting this code to?
That will help us help you.