E
educos
Hi,
I meet a global problem in my infopath form in validation rules. I can easy
reproduce this problem with date picker.
If I put a date picker control in a form, I can tape in some space
characters in the text field and when I loose focus, infopath give me back a
validation error (because there is a "not empty value" that does not meet a
date form). If I click again in the text field, I do not see the spaces
because for some strange behaviour, infopath removes unwanted spaces....but
the spaces are stil present in the XML representation, so the user may not
understand why there is an error.
The same thing happen in normal text field if use the validation rule "field
is not empty". This rule become true if user inpu some space characters in
the field...but for me the value is still empty...
So, my question: is there an easy way to avoid this behavior...
Best regards.
Eric.
I meet a global problem in my infopath form in validation rules. I can easy
reproduce this problem with date picker.
If I put a date picker control in a form, I can tape in some space
characters in the text field and when I loose focus, infopath give me back a
validation error (because there is a "not empty value" that does not meet a
date form). If I click again in the text field, I do not see the spaces
because for some strange behaviour, infopath removes unwanted spaces....but
the spaces are stil present in the XML representation, so the user may not
understand why there is an error.
The same thing happen in normal text field if use the validation rule "field
is not empty". This rule become true if user inpu some space characters in
the field...but for me the value is still empty...
So, my question: is there an easy way to avoid this behavior...
Best regards.
Eric.