Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

CB Conditional preventing user signup

  • WebGuyCom
  • WebGuyCom
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
8 years 5 months ago - 8 years 5 months ago #281915 by WebGuyCom
CB Conditional preventing user signup was created by WebGuyCom
I have really enjoyed using the Conditional plugin as the site I am creating has multiple profile types and the correct entry of common fields differs depending on what type of profile is being registered.

After completing all required fields with properly verified input the "Enter your Name" error shows up.

What did I do wrong?

Sign up form is here. (use email address markmumma+joomla@gmail.com to avoid the gmail requirement when testing the form. I'll delete the responses later.)

americastaken.com/index.php/my-profile/create-account

This problem occurs on all profile types.

Error
Please enter your name.
Last edit: 8 years 5 months ago by WebGuyCom.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 5 months ago #281948 by krileon
Replied by krileon on topic CB Conditional preventing user signup
Are you conditioning the name fields or the tab the name fields are on? If so, remove those conditions. Also ensure you're up to date with latest CB 2.x and CB Conditional nightly releases found below.

CB 2.x Nightly:
www.joomlapolis.com/downloads/doc_details/640-community-builder-nightly-build

CB Conditional Nightly:
www.joomlapolis.com/downloads/doc_details/778-cb-conditional-nightly-release


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: WebGuyCom

Please Log in or Create an account to join the conversation.

  • WebGuyCom
  • WebGuyCom
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
8 years 5 months ago #281978 by WebGuyCom
Replied by WebGuyCom on topic CB Conditional preventing user signup
Actually, yeah. I had hidden all three of the name fields and then showed the user once they made a selection from "Profile type".

After I removed the conditions it began working again.

Strangely, tho, date of birth is required yet some people are able to subit the form without this stuff.

Thoughts?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 5 months ago #282028 by krileon
Replied by krileon on topic CB Conditional preventing user signup
So you're conditioning the name fields 3 times then. That's not valid. You can not condition something more than once. If you did do this then you'd need to use a single condition, which is doable as follows.

Field: Profile Type
Operator: Is REGEX
Value: /TYPE_1|TYPE_2|TYPE_3/

I however recommend just not conditioning them if it's not necessary.

Strangely, tho, date of birth is required yet some people are able to subit the form without this stuff.

You again likely have a condition conflict causing PHP to remove the field and thus it won't validate (or store). Review your conditions carefully and only condition a field once.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum