S
Sebnunes
Hi all,
I'm stuck with Data Validation. I have a field "Close Date" and a Repeating
table which contains a field "Comment", I have a Data Validation Condition on
the Comment field saying If "Comment Is blank" and "Close Date is not blank"
as I want the user to enter a new Comment each time the close date is
inserted or modified. To do that I have some code on the Changed Event of the
Close Date field. The Code uses the AppendChild method to create a new node
in the Repeating Table.
This works fine, when the user add or update the Close Date, a new row is
created in the Repeating Table, a red asterisk is displayed in the Comment
field until the user insert some text, but when the user click submit a
message saying "The form cannot be submitted because of Data Validation and
the errors are shown in red" but there is nothing shown in red and all
validation seems good to me.
When I remove the Data Validation in the comment field the user can submit
the form successfully.
I do not understand why Infopath is blocking on Data Validation for the
Comment field.
I'm using Web Enabled forms.
Any Idea ?
I'm stuck with Data Validation. I have a field "Close Date" and a Repeating
table which contains a field "Comment", I have a Data Validation Condition on
the Comment field saying If "Comment Is blank" and "Close Date is not blank"
as I want the user to enter a new Comment each time the close date is
inserted or modified. To do that I have some code on the Changed Event of the
Close Date field. The Code uses the AppendChild method to create a new node
in the Repeating Table.
This works fine, when the user add or update the Close Date, a new row is
created in the Repeating Table, a red asterisk is displayed in the Comment
field until the user insert some text, but when the user click submit a
message saying "The form cannot be submitted because of Data Validation and
the errors are shown in red" but there is nothing shown in red and all
validation seems good to me.
When I remove the Data Validation in the comment field the user can submit
the form successfully.
I do not understand why Infopath is blocking on Data Validation for the
Comment field.
I'm using Web Enabled forms.
Any Idea ?