Hello,
I have a form that contains a field, Field1, that can only be 225 characters. It is a multi-line text field so I created a validation rule on it with this condition: string-Length(.) > 225
A dotted red box appears around the box if the user puts in more than 225 characters.
I would like to hide the Submit Button if this Field1 contains more than 225 characters but haven't been able to do it. I created a Field2 that is a Text Field; I changed its Control to a Calculated Value. The XPath expression formula for Field2 is: string-length(my:Field1)
This field calculates the number of characters used as you enter type in Field1.
I tried to create a Formatting Rule on the Submit Button that Disables the Control based on this condition: Field2 is greater than 225
However, this does not disable the Submit Button.
Can anyone help me with this or point me in a different direction?
thanks in advance