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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.