Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Giu 23 posts 141 karma points
    Feb 10, 2023 @ 14:38
    Giu
    0

    Server side validation for js property editor

    I started building a property editor in js using a manifest file when I realized I need some complex server side validation.

    I saw this post from 2014: https://our.umbraco.com/forum/umbraco-7/developing-umbraco-7-packages/54788-V7-packagemanifest-validation-array

    With the following answer: Manifest declared validators are for server-side validation without you having to write any c#, if you require more complex server side validation then you will need to write a c# property editor.

    Is it still relevant ? Basically I just want to add a validator in c# and associate it with my custom property editor without creating the property editor in c#

  • Giu 23 posts 141 karma points
    May 21, 2023 @ 07:02
    Giu
    0

    Update: turns out for v11 it is mandatory to have a manifest file regardless of having .cs files for the config for the data editor. Our manifest file was very small as most of our config went into the .cs file

Please Sign in or register to post replies

Write your reply to:

Draft