Saturday, March 24, 2012

Watermarks and Validation ... How to disable?

Since it appears to me that the watermarks and validation issue will not be resolved anytime soon, can somebody please help me to clear the watermark text from my textboxes? I don't want to remove the watermarks completely because I'm using styles that identify required fields.

I would like to be able to iterate through all the textboxes on a page and just set the watermark text to an empty string.

Thank you very much!

Hi Jax67,

You should be able to iterate through the collection of all objects inSys.Application._createdComponents to check forTextBoxWatermarkBehaviorinstances and then callset_WatermarkText on each of them.

Thanks,
Ted

No comments:

Post a Comment