Copied to clipboard

Flag this post as spam?

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


  • Gordon Saxby 1465 posts 1887 karma points
    May 15, 2017 @ 12:06
    Gordon Saxby
    0

    Make AngularJS custom Datatype honour mandatory setting

    I am creating a custom datatype with AngularJS and want it to honour the "Field is Mandatory" setting of the DocType it is on.

    How do I tell Umbraco that the datatype is invalid (i.e. not filled in)?

    The datatype consists of a text input and a number input. The number input will default to "0" which is OK, but I need to ensure the text field is not empty ... if the "Field is mandatory" checkbox is ticked on the DocType.

  • Laurent Lequenne 123 posts 248 karma points
    May 15, 2017 @ 18:15
  • 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.

Please Sign in or register to post replies