------------PROPERTY USED TO SET THE MESSAGE THAT APPERS IF THE VALIDATION RULE IS NOT MET.
A. VALIDATION RULE
B.VALIDATION TEX
C.INPUT MASK
Answers
have a Sharepoint 2010 custom list based on a custom content type. I set up list validation (to make sure that between two date fields, the second field contains a date that is after the first field).
Initially I used the default "New Item" form to add an item to the list. The list validation worked as expected and showed the validation error message on the form when the date fields did not meet the validation rule. I then used Sharepoint Designer 2010 to create a custom "New Item" form. When submitting the custom form, when the date fields do not meet the validation rule, rather than showing the error message on the form, a new form is shown that says "List data validation Failed" (and shows a bunch of other stuff, including a link to return to the site).
In comparing the html of the default form and my custom form, I see that the default form uses the ListFormWebPart and my custom form uses the DataFormWebPart. I did not specifically choose either of these objects, it is just what SPD gave me. Obviously these two objects have different behavior.
I expected the custom form to have the same behavior as the default form, i.e. show the error message on the "New Item" form. What can I do to get this to happen on my custom form? Is there a different approach I should be taking instead?
Thanks
Answer:
INPUT MASK
Explanation:
YOU CAN MARK ME AS BRAINLIEST.