Copied to clipboard

Flag this post as spam?

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


  • Sara 5 posts 87 karma points notactivated
    May 02, 2017 @ 08:13
    Sara
    0

    How Can I make ArcheType required if some fieldset is optional.

    In Umbraco 7.5 , I use Archetype package 1.13.1 for creating list of date/location s. it contains :

    Date : datepicker , required

    Location : textstring , required

    Comment : textstring (not required)

    I want to make the whole archetype REQUIRED , so user needs to add at least one date/location . however they can leave Comment empty . seems its not any setting for Archetype to be required in this case. Any help?

  • Neil Hodges 338 posts 987 karma points
    May 04, 2017 @ 15:54
    Neil Hodges
    1

    Hi Sara

    When adding the Archetype Property to your Document Type are you selecting the Validation check box at the bottom?

    enter image description here

  • Sara 5 posts 87 karma points notactivated
    May 05, 2017 @ 01:07
    Sara
    0

    Thanks Neil, Yes I made it Required In the doctype I added . and this is the archetype in doctype

    enter image description here

    in Doc Type enter image description here

    Also I checked "Start with add button" in "Global fieldset options"

Please Sign in or register to post replies

Write your reply to:

Draft