I have the following code:
The field has hint that displayed after the field. if during validation one of the validators failed the error is displayed UNDER the hint, pushing the hint up - see the attached image:
Is it possible to make the error to be displayed AFTER the hint ?
Code:
private final IntegerItem accountLockoutThreshold = new IntegerItem(); accountLockoutThreshold.setTitle( "Account Lockout Threshold" ); accountLockoutThreshold.setWidth( TABLE_WIDTH ); accountLockoutThreshold.setTextAlign( Alignment.RIGHT ); accountLockoutThreshold.setLength( 3 ); accountLockoutThreshold.[B]setHint( "<nobr>" + "times" + "</nobr>" );[/B] accountLockoutThreshold.setRequired( true ); accountLockoutThreshold.setDefaultValue( 5 ); accountLockoutThreshold.setValidators( getIntValidator(), getRangeValidator( 1, 99 ) ); accountLockoutThreshold.setColSpan( 3 ); accountLockoutThreshold.setEndRow( true );
Is it possible to make the error to be displayed AFTER the hint ?
Comment