Skip to Content Skip to Menu

[SOLVED] CB Subs registration form - Password appears with displayDisabled and Hidden CSS

4 years 10 months ago - 4 years 10 months ago #315799 by jered@saverexpress.com
Site Info:

Joomla 3.9.13
CB: 2.4.2
CBSubs: 4.3.0+

The problem:

Password form field is hidden behind a "display: none !important" in 2 different values set by CBsubs or CB. One is named "displayDisabled" and the other is "hidden"
both seem to be part of the Template (one is from CBcomprofiler template.css, the other is the local template bootstrap.css)

I took a look at CB options and the most usual answer would be " Generate Registration Passwords " in Cb's registration option. But it is disabled.

A mirror site with the same settings, same template with minor variations of images, etc.. works fine. But this copy doesn't.

I had to add a CSS at the bottom of the page targeting ID #cbfr_51 to display inline.



Here is the full CSS and tags of the problematic PASSWORD field:
Code:
<div class="form-group row no-gutters sectiontableentry1 cbft_password cbtt_input cb_form_line displayDisabled hidden" id="cbfr_51"><label for="password" id="cblabpassword" class="col-form-label col-sm-3 pr-sm-2">Password</label><div class="cb_field col-sm-9 requiredDisabled"><div id="cbfv_51"><input type="password" name="password" id="password" value="" class="cbTooltip form-control requiredDisabled cbValidationDisabled" data-cbtooltip-tooltip="Please enter a valid password. No spaces, at least 6 characters and contain lower and upper-case letters, numbers and special signs" data-cbtooltip-title="Password" data-rule-minlength="6" data-rule-maxlength="50" autocomplete="off" size="25" maxlength="50" mosreq="0" style="background-image: url(/&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR4nGP6zwAAAgcBApocMXEAAAAASUVORK5CYII=&quot;); cursor: auto;" data-hasqtip="32"><span class="cbFieldIcons"> <span class="cbTooltip" data-cbtooltip-tooltip="This Field is required" data-hasqtip="33"><span class="fa fa-star text-muted"></span></span> <span class="cbTooltip" data-cbtooltip-tooltip="This Field IS NOT visible on profile" data-hasqtip="34"><span class="fa fa-eye-slash text-muted"></span></span></span></div></div></div>



Any suggestions?


*edit*
#cbfr_51_verify was also hidden. had to force it to be visible.
Last edit: 4 years 10 months ago by krileon. Reason: Added [SOLVED] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
4 years 10 months ago #315835 by krileon
You've hidden the field with one of your CBSubs plans via its "Hides fields at registration" parameter under the Workflows tab. Review your plans carefully and remove the password field from that parameter or it won't show until the plan has been selected.


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.

4 years 10 months ago - 4 years 10 months ago #315838 by jered@saverexpress.com

krileon wrote: You've hidden the field with one of your CBSubs plans via its "Hides fields at registration" parameter under the Workflows tab. Review your plans carefully and remove the password field from that parameter or it won't show until the plan has been selected.


Thanks, found and removed. It now works as expected.

In the other hand...this has to be the strangest thing I've ever seen. Since this is a copy of another website. And I had never entered the "hide fields" area in a long time. No idea how it would become activated. Unless other staff messed with this.
Last edit: 4 years 10 months ago by jered@saverexpress.com.

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

Moderators: beatnantkrileon
Powered by Kunena Forum