views:

32

answers:

1

I am using the jquery.watermark.min.js plugin.

I just recently noticed that it is submitting the watermarks on form submit. It wasn't doing it before, but now it is. Not sure what I changed. Any ideas? Or fixes?

I am using MVC, Ajax.BeginForm, I have a viewmodel with validation on it.

The website said something about using jquery validate and to activate it after the watermarks. Is mvc doing something for me thats breaking this?

I just need some help moving past this...Thanks =D

+1  A: 

Check out an alternative, the labelOver plugin (demo here) which doesn't put the watermark in the inputs as values, but styles them to be placed on top...completely eliminating the issue, instead of trying to work around it.

Nick Craver
Exactly what I wanted to hear. I was thinking of making exactly that. =D
Blankasaurus
I'll try it out and mark as answer soon...
Blankasaurus