Skip to Content Skip to Menu

[SOLVED] View empty fields

  • sirweb
  • sirweb
  • OFFLINE
  • Posts: 226
  • Thanks: 25
  • Karma: 2
6 years 10 months ago - 6 years 10 months ago #299593 by sirweb
[SOLVED] View empty fields was created by sirweb
Having lots of fields of different kind in the profile...

Would it be possible to make each field selectable if empty values should be visible or not?
In some cases it is not necessary to view the field if it is empty, for example a grade or achieved skill level.
In other cases you would vant to view the empty field to encourage the users to fill in a value (using Ajax plug), for example a phone number.
Last edit: 6 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: 48444
  • Thanks: 8279
  • Karma: 1443
6 years 10 months ago #299607 by krileon
Replied by krileon on topic View empty fields
You can set CB to hide empty fields within CB > Configuration > User Profile. If you enable ajax editing for the field and set a placeholder for it then it'll still show on profile as ajax editable even if empty.


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: sirweb

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

  • sirweb
  • sirweb
  • OFFLINE
  • Posts: 226
  • Thanks: 25
  • Karma: 2
6 years 10 months ago - 6 years 10 months ago #299646 by sirweb
Replied by sirweb on topic View empty fields
Great idea!
With a
Code:
 
as a placeholder, it became exactly as I wanted. :)

Thank you!
Last edit: 6 years 10 months ago by sirweb.
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum