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

  • SEARCH
  • Home
  • 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 8081455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:44:05+00:00 2026-06-05T16:44:05+00:00

I have a simple feedback form in a Kentico CMS site. There are two

  • 0

I have a simple feedback form in a Kentico CMS site.

There are two inputs and a submit button. One of the inputs is a yes/no radio button selection and the other is a text area input. (please see screenshot).

I want the user to be able to submit the form only when at least one of the following 3 criteria are met:

  1. ‘Was this page helpful?’ was answered.
  2. The text area value is not blank and the value does not equal the default text value which is ‘How can we improve this page? Providing feedback helps us to improve this information’
  3. Or, both criteria in 1 and 2 are met.

Basically, I want them to answer at least one of the inputs.

Is this type of validation possible using Kentico forms/online form web part?

Screenshot of form (may be of use):
enter image description here

  • 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-05T16:44:06+00:00Added an answer on June 5, 2026 at 4:44 pm

    I contacted Kentico about this functionality and their response is below:

    Regrettably, this type of validation is not provided. Kentico CMS
    perform validation for each built-in control separately.

    In general, you have two options. The first one is to implement the
    OnBeforeValidate or OnAfterValidate events which give you the ability
    to perform a custom validation if necessary. You can access each field
    as follows:

    string answerText =
    ValidationHelper.GetString(viewBiz.BasicForm.Data.GetValue("answerText"),
    "");

    If the validation fails, you need to set the StopProcessing of the
    BizForm control to true:

    viewBiz.StopProcessing = true;

    More information about customization possibilities related to BizForm
    can be found here:
    http://devnet.kentico.com/docs/devguide/index.html?api_bizforms_customization_possibilities.htm

    Another way would be creating a custom form control just as it is
    described in the documentation:
    http://devnet.kentico.com/docs/devguide/developing_form_controls.htm

    The form control would allow users to specify both fields and
    therefore you can peform the custom validation (IsValid method)
    according to your requirements.

    To set a field other than the field for which the for control is used,
    you need to implement the GetOtherValues method.

    Then, just disable the other field so that it is not displayed on the
    form twice.

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

Sidebar

Related Questions

I have a simple feedback form (see screenshot) on each page on a site.
I have a simple feedback form PHP script that I would like to enhance
Hello I have a simple form on my site that allows users to send
I have a simple feedback form that allows my users to log feedback and
I have simple issue setting a two-way databinding of a checkbox in Silverlight 3.0.
I have simple form. <form target=_blank action=somescript.php method=Post id=simpleForm> <input type=hidden name=url value=http://...> <input
I have written a simple feedback application in django. It's not particulairly complex, basically
I have a simple jsp form that the customer uses to send us emails.
So I've got a pretty simple button that basically toggles a form on and
I have a pretty complex form that provides real-time validation and feedback to the

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.