[SOLVED] CB Conditional plugin

13 years 2 months ago #156001 by KatoKalin
Replied by KatoKalin on topic Re: CB Conditional plugin
Well actually I have one weird field which is a field that has been added by a individual plugin. It adds an additional username and this one has the same weird behaviour although it is not a core field. I don´t know why is this. Maybe CB considers this field a core field but I cannot telly why.

Please Log in to join the conversation.

13 years 2 months ago #156025 by krileon
Replied by krileon on topic Re: CB Conditional plugin
The reason some fields are not functioning right is on each step when validation is enabled I am faking a registration submit. This triggers CBs validation and will error any fields that fail validation. This then allows me to stop users from moving to the next step based on the errors presented.

The problem is those special fields have validation beyond just being Required so I need to do something else to remove the validation for them; perhaps disable them or remove them entirely then restore them after validation check. At any rate issue is noted and will be addressing with next release. For the time being keep those fields on the first Step.


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 to join the conversation.

13 years 2 months ago #156129 by KatoKalin
Replied by KatoKalin on topic Re: CB Conditional plugin
Ok.
Now there are 2 other issues:

1. When I am using the CB Captcha, then it shows the captcha image and input field in every step on top of the form. The field label shows below the form. None of the could be moved no matter what I have tried.

2. Where do I have to put the language strings to rename the labels for the steps.

Please Log in to join the conversation.

13 years 2 months ago - 13 years 2 months ago #156169 by krileon
Replied by krileon on topic Re: CB Conditional plugin

1. When I am using the CB Captcha, then it shows the captcha image and input field in every step on top of the form. The field label shows below the form. None of the could be moved no matter what I have tried.

Please test with CB 1.4 if not installed already and ensure are using the latest Captcha. It should only be shown once in its own step.

2. Where do I have to put the language strings to rename the labels for the steps.

CB team plugins language file. You can also define them as defines in the main language file.


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 to join the conversation.

13 years 1 month ago #156502 by krileon
Replied by krileon on topic Re: CB Conditional plugin

2. However, there is still the issue regarding certain fields assigned to certain tabs. For example: I have 2 tabs, portrait and contact. When I assign the username field to the portrait tab, step-by-step works. The field shows up in the first tab of the registration page and I can click to the next tabs.
When I assign the username field to the contact tab, the field does not show up on the first tab (which is correct), but when I try to get to the next tab, the validation message pops up telling me to fill out username. Of course I cannot do this, because the username field has been assigned to the second tab which I cannot select.
Only turning validation off solves this for now as this is the only way to switch to the second tab.
It is weird, that this behaviour does not show for all fields. I have experienced this for the username field, the password field and a customs field of mine. Other fields can be assigned anywhere without showing this weird behaviour.

Am investigating this issue and can not duplicate. With validation on and all core fields such as password, email, name, username, etc.. placed on Step 2 after completing Step 1 I was able to move to Step 2 successfully. Don't believe there is an issue present, please ensure you're using latest release. Please also state if you're using custom validation such as through REGEX or something of the sort. Please also ensure you're using CB 1.4.


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 to join the conversation.

13 years 1 month ago #156638 by KatoKalin
Replied by KatoKalin on topic Re: CB Conditional plugin
Now with 1.4 it seems to be working. Also the Captcha issue went away. Great plugin.
Now I only cannot find the right way to rename the steps. Would /components/com_comprofiler/plugin/language/default_language/default_language.php the correct place? If I do it there will the language strings be lost after a CB upgrade? Wouldn´t it be better for the Conditional Plugin to come with its own language file?

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.201 seconds

Facebook Twitter LinkedIn