(Validate) Clear input before validating

(Validate) Clear input before validating

Hi everybody,

is there a possibility to clear a certain input field  - depending on its value - before validating a form? For example: If the input field "url" has the value "your url", then clear the input field so the url input field doesn't need to be validated.

Why am I asking for such a thing? I have a form where the input labels are shown inside the input fields (via jQuery). The url field is optional and when no url is entered, there's still the label ("your url") in it as a value and therefore gets criticized by the validation plugin.

If you don't understand what exactly my problem is, you can see a live example here (just scroll down to the comment form, fill in a name, an e-mail address and a comment and click submit - you will see the validate plugin will criticize the url field because there's still the value "Internetseite" in it, therefore I need the input field to be cleared before the validation starts).

I hope you did understand my problem and know how to fix this issue.

Kind regards,
Olli