Not passing placeholder text

I have several fields in a form that contain placeholder text prior to
the user populating it with their own data. It’s just a mix of
javascript onfocus/onblur tags to show/hide the placeholder text. I’m
looking for suggestions on a DRY way of preventing the placeholder
text from being saved to the database without having to check each
field manually.

Any suggestions would be appreciated.

Thanks

Anyone?

  • j

Justin,

I think a Javascript helper method which attachs to the submit event of
the
form would be DRYest.
It could even borrow some code from the functionality that shows/hides
the
placeholder text.

On 7/2/07, Justin W. [email protected] wrote:

looking for suggestions on a DRY way of preventing the placeholder
text from being saved to the database without having to check each
field manually.

Any suggestions would be appreciated.

Thanks


Manik J.
company: http://vinsol.com
blog: http://fromdelhi.com