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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T19:33:44+00:00 2026-05-20T19:33:44+00:00

On my registration page, I have radio button to select user type, competitor or

  • 0

On my registration page, I have radio button to select user type, competitor or noncompetitor and both users have different database table to register into.

Now when I go for validation, my url is like, noncompetitors/register and here is a whole form to enter registration information, now when user selects noncompetitor registration, it displays server side validations which cakephp provides, but when user tries to register with competitor, it doesn’t go for server side validadtions, what can i do to apply both diff models validations to a single form, depending on registration selection?

Earliest reply would be appreciated.

Thanks !

  • 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-05-20T19:33:45+00:00Added an answer on May 20, 2026 at 7:33 pm

    You’ll need to be more specific. If I understand the question correctly, you’re trying to validate one or more fields in the form differently depending on whether someone selects competitor or noncompetitor. Is that right? Otherwise, please clarify your question.

    If so, it seems like you could directly test the input. Something like this:

    if($this->data['RegisterType'] == 'competitor' ) {
       [check to see if the field(s) your testing meet criteria X]
    } else {
       [check to see if the field(s) your testing meet criteria X]
    }
    

    Again, I’m guessing at the issue, but hopefully I understood the question.

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

Sidebar

Related Questions

I have an account registration form where a user can select their account type.
I have a button on my registration Page (Windows Phone), in 30% of pushing
I have a simple user registration page in my rails app that has two
I have some problem in drupal registration page. I want to change whole user
I have made customized user registration page. and i have made that on theme
I needed to create a custom select list for the user registration page that
I have created Facebook registration page, What i want to do is user can
I have a registration page with fields for entering personal user info and it
I have a registration page which has the following password entry control: <input type=password
I have a simple registration page that validates if a user is already taken.

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.