View Full Version : How can I disable the TextField validation icon?
20 Jan 2012, 1:25 PM
I have a Validator attached to a field. When validation fails, I want the red line to appear in the field, but I do not want the red icon to appear to the right of the field. How can I accomplish this? I don't see this functionality in the documentation. Thanks!
23 Jan 2012, 4:15 PM
Check out Field.setMessageTarget(String) - you'll want to pass in "tooltip" (or, to just not draw that icon, anything but "side"). With that set, it shouldn't even attempt to draw the icon.
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.