Hi,
I have setup a password descriptor as follows:
desc := (MAPasswordDescription
auto: #password
label: 'Password'
priority: 100) beRequired; yourself.
desc requiredErrorMessage: 'must be specified.'.
desc
addCondition: [:value | value size > 6]
labelled: ' too short'.
If I enter a password of 'abc' it fails validation as expected. The password field is not cleared when it is redisplayed so I can add 'def' to the end of the field. In the condition this time instead of getting 'abcdef', I get '***def' as the value.
Is there a way round this or should I just clear the value. If clearing the value is the answer then how do I do it from within the condition or should I use a custom condition.
Thanks
Rob