Skip to Content Skip to Menu

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

[SOLVED] Date field is "type=hidden" in front end!

  • ziggy03
  • ziggy03
  • OFFLINE
  • Posts: 17
  • Thanks: 5
  • Karma: 3
11 years 11 months ago - 11 years 11 months ago #215435 by ziggy03
Hello,
I created a date field on my site for Date of Birth, and enabled the option "SHOW ON REGISTRATION" the field title as well the the field's privacy settings are being displayed on the front-end registration, edit profile, & view profile pages but the somehow the actual CALENDAR of the field has gon missing. on checking the source code i have found out that the there is a particular code "type=hidden" being shown in the line. can you please advice on what's wrong and how to remedy it.
Thank You.
Code:
<input class="inputbox required" mosreq="1" moslabel="Date of Birth" type="hidden" name="cb_dob" id="cb_dob" value="">

My Joomla version 2.5.8, CB Version 1.9.0

I am an Indian; I know about & believe in Karma way before forums were even invented ;-)
Attachments:
Last edit: 11 years 11 months ago by ziggy03. Reason: Quest Completed :)

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
11 years 11 months ago #215436 by nant

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

  • ziggy03
  • ziggy03
  • OFFLINE
  • Posts: 17
  • Thanks: 5
  • Karma: 3
11 years 11 months ago - 11 years 11 months ago #215437 by ziggy03
Replied by ziggy03 on topic Re: Date field is "type=hidden" in front end!
I am not using CB COnditionals
the only conditions on my CB Auto Actions are regarding my other custom field cb_professions to shift users from one ACL user group to the others!!

And i deleted the original field and created a new one still i am getting the same error

I am an Indian; I know about & believe in Karma way before forums were even invented ;-)
Last edit: 11 years 11 months ago by ziggy03.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 11 months ago #215492 by krileon
Replied by krileon on topic Re: Date field is "type=hidden" in front end!
The calendar JS is failing. Check browser error console and you'll probably see a fatal JS error occurring, which will stop all other JS from functioning properly. Switch to default Joomla template and see if issue persists as it's typically from JS loaded in by a 3rd party template.


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.

  • ziggy03
  • ziggy03
  • OFFLINE
  • Posts: 17
  • Thanks: 5
  • Karma: 3
11 years 11 months ago #215588 by ziggy03
Replied by ziggy03 on topic Re: Date field is "type=hidden" in front end!
first of, i would like to thank you guys for your support. Now i got the JS errors from the console,
Code:
Uncaught ReferenceError: Calendar is not defined calendar-locals.js:12 Uncaught ReferenceError: cbTemplateDir is not defined calendardateinput.min.js:8 Uncaught TypeError: Cannot call method 'getFullYear' of undefined

I did the following things:
change my template to beez5 template
changed my template to atomic template
disabled bootstrap template plugin in CB
changed back to my gantry based template
cleared my gantry cache
cleared my browser cache
kept on refreshing the front-end all the time ;-)

but still no results. also krileon i would like you to note that the field was working perfectly up untill a few days before on my current gantry template.

I am an Indian; I know about & believe in Karma way before forums were even invented ;-)

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 11 months ago #215638 by krileon
Replied by krileon on topic Re: Date field is "type=hidden" in front end!
Then something was changed up to a few days ago to cause it. Can you recall anything you've changed, installed, or upgraded in the last few days then revert those changes?


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