Skip navigation
Currently Being Moderated

Spark TextInput unwanted Validation error

Nov 21, 2012 9:41 PM

Recently I've noticed a strange problem with Spark TextInput control, while using inside a <s:Form> object.

 

My requirement was to using regular validation class for validating a form field (TextInput) and show the validation error in a fashioned manner (as we used to see for Flex application - red bordered, roll-over to show error tip). What I noticed now is, whenever I put the TextInput inside a <s:Form> object and validate the field, the error tip coming beside the text input along with an error icon. This in result also stretching(resizing) my form object which cause other elements' alignemtn problem as well.

 

I tried to do a custom validator class showing an error tip over, however I anyway can't stop the default error string and error icon show inside that Form object (attached image shown, Password field here using a custom validator class)

 

validationError.png

 

I think I almost tried all the probable properties to stop this pointed area.. any suggestion or, workround?

 

Don't know why Adobe fixed this portion in this way.

 

Thank you.

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points