Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Guys!
I am confuse with implementing validation on fields on Document Types. For example i want to validate the extension type for upload to be Jpg only. Or i want to validate the Height and Width of the image i uploaded. How do i go about doing that?
Can some kind soul help me with this?
Thanks in advance!
Sincerely,
Thomas
Hi Thomas,
You have to create your own property editor.
https://our.umbraco.org/forum/developers/extending-umbraco/46183-Creating-a-property-editor-in-Umbraco-7
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Validation on Document Types
Hi Guys!
I am confuse with implementing validation on fields on Document Types. For example i want to validate the extension type for upload to be Jpg only. Or i want to validate the Height and Width of the image i uploaded. How do i go about doing that?
Can some kind soul help me with this?
Thanks in advance!
Sincerely,
Thomas
Hi Thomas,
You have to create your own property editor.
https://our.umbraco.org/forum/developers/extending-umbraco/46183-Creating-a-property-editor-in-Umbraco-7
is working on a reply...