Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8897959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T00:29:11+00:00 2026-06-15T00:29:11+00:00

i am designing a module in which i planned to implement custom validation with

  • 0

i am designing a module in which i planned to implement custom validation with jQuey.i have faced with a problem called Validation Summary that will be displayed on top of every content type Editor page.now i am after a way of getting rid of it.
thanks for anyone helping me.best regards.

EDIT:

in fact my problem is not with displaying validation summery.my original problem is as follow:

i have a ContentType called Estate which contains 1-EstatePart 2-AddressPart 3-PersonalInfoPart.when user going to register a new Estate,when user is registered (and loged in) the user information already exist in the data base thus the PersonalInfo Part shouldn’t be displayed.in the PersonalInfopart view I decided to show or not show info according to a flag (associated with Model passed to view).but when i submit the form in any case PersonalInfoPart driver attempts to validate the part (which is hidden from user eyes) and displays the validation messages and my first problem is some how related to this one.

Edit 2: What i have tried:

i have tried to render a hidden field for ShouldDisplay property of model and in the driver i have tried to retrieve the ShouldDisplay value from the part.but PersonalInfoPart contains null properties.

my code

protected override DriverResult Editor(PersonalInfoPart part, IUpdateModel updater, dynamic shapeHelper)
    {
        if (part.ShouldDisplay) //ShouldDisplay is always false (and other properties is null)
            updater.TryUpdateModel(part, Prefix, null, null);
        return Editor(part, shapeHelper);
    }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T00:29:12+00:00Added an answer on June 15, 2026 at 12:29 am

    Another option may be to simply hide the part using CSS.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am in the process of designing a web application which will have multiple
I'm working on a site, which will have several modules that either fully available
Situation: Drupal 6 node module defining custom content type Necessity to have an automated
We are designing set of web services which will return XML string in response.
I am designing a website which will involve too many photos. There are two
I have a script that I would like to convert to a module and
I am in the process of designing a trading application which will use a
I am designing a distributed architecture where we will have a web front end
We are designing our new product, which will include multi-tenancy. It will be written
I have written a XS based Perl module which provides access to functions in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.