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 8706135
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T03:32:26+00:00 2026-06-13T03:32:26+00:00

I am working on a Spring WebFlow project that is using Dojo (dijit) for

  • 0

I am working on a Spring WebFlow project that is using Dojo (dijit) for the forms and if the user does now fill in a textfield that is required the field does turn red on the click of the submit button. But radio buttons and checkboxes dont..

1) How can I make a radio button and checkbox act like text fields and turn red?

2) How can I change the following code popup a messages that the user has to fix some text fields.

<input type="submit" name="_eventId_submit" id="submit" value="Submit"  tabindex="11" />
<script type="text/javascript">
            Spring.addDecoration(new Spring.ValidateAllDecoration({
                elementId : 'submit',
                event : 'onclick'
            }));
        </script>
  • 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-13T03:32:27+00:00Added an answer on June 13, 2026 at 3:32 am

    for 2) you can use Spring.validateAll() instead of the ValidateAllDecoration. (you have to remove the ValidateAllDecoration)

    the function Spring.validateAll() return true or false depending on the validation results.

    something like that on the onClick:

    onclick="if(!Spring.validateAll()){alert('errors')}else{Spring.submitForm(...)}"
    

    should work

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

Sidebar

Related Questions

I am working on a Spring Web Project that we are using Subversion, Eclipse
I am working on my first project with Spring, Spring-JS and DoJo(dijit) and I
I'm working on a Spring MVC project in which I'm using Hibernate Validator to
I'm working on a Spring 2.0 project, without annotations. We're using several PropertyPlaceholderConfigurer beans
How do I change the regExp in a Spring WebFlow Project with Dojo you
I am working on a project using Spring Web Flow 2.0. I am trying
While working on a Spring 3 MVC project using Hibernate, we encountered an annoying
I am working on a Spring WebFlow Project. I can't stop log4j from printing
Just getting the hang of Spring Webflow. I have some simple forms working and
I have been working with Spring for a while now to realize that not

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.