Copied to clipboard

Flag this post as spam?

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


  • Manasa 80 posts 201 karma points
    Feb 25, 2014 @ 10:37
    Manasa
    0

    validate content picker

    Hi,

    Is there any way to validate content picker? I'am using a user control, where i have used content picker to select parent name.

    For example:

    1. If there no child nodes in the parent node selected i should display a error saying no child nodes.

    2.For the selected parents if child node doesn't have properties it should display no properties found.

    How to validate these things in content picker.

    Please help me asap.

     

    Thanks

  • Alan Howlett 19 posts 54 karma points
    Mar 26, 2014 @ 18:52
    Alan Howlett
    0

    I think you'll need to create a custom datatype to handle this.  Here you can find details of how to go about this:

    http://www.nibble.be/?p=24

    I'd also suggest downloading the Umbraco source code for the version you're using as you'll be able to use their MediaPicker as a base point.

    http://our.umbraco.org/download

    Rgds

    A

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Mar 27, 2014 @ 12:08
    Jeroen Breuer
    0

    Have a look at the source of this package: http://our.umbraco.org/projects/backoffice-extensions/digibiz-email-form-with-tinymce

    It does some validation things in the UserControl.

    Jeroen

  • Manasa 80 posts 201 karma points
    Apr 03, 2014 @ 03:56
    Manasa
    0

    Thnk u all :)

Please Sign in or register to post replies

Write your reply to:

Draft