>Johnny,
>
>I tried to test what you are experiencing here in my web app and noticed the following:
>
>I have a character field that requires a value and I entered a space in the field and attempted to save but in the rules object a null was still being passed even though I blanked out the field on the form. This means something is going on between the interface and business object (which sounds like a Trim() is in fact taking place). Either way this works for me because I do not want a space or a null. But what if I wanted to allow spaces? I think that setting the allowEmptyValue to true still wouldn't work since the null value would still (probably) be passed to the object. I would then need to investigate why this is happening. Right now I do not have the need to do so.
>
>Test it a little to see what actually happens (if nobody else can give you an answer) and I think you will find out how this is really working.
>
>Bob
>
I have not walked through this, but I think the business rule is setup differently depending on how you choose in the BLG. If it is required a null will not be allowed. If you also choose EmptyValues are OK, then a space or empty string would be allowed but not a null. If you do not choose to allow an empty value, then the string passed if empty would not be allowed.
After lunch I will generate a biz obj group and pick one of each to compare the difference in function.
Tim
Timothy Bryan