Creating limits on Document Type fields (Umbraco 7.4,Umbraco 7.6)

Before handing the website over to the client, there may be a few restrictions you'd like to put in place on your document type fields for best practice.

If its a string, you can add the below to the validation (swap 155 with the maximum character limit you'd like to put in place):


Add this expression into your validation field: