Hide an Empty Fields

  • codeworks
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0

codeworks created the topic: Hide an Empty Fields

The content template works fine after creating from the sample. But each time if I edit anything and save it again, I get N/A for all the records suppose to be "hide if empty".
I use JCE Pro Editor.

How do I hide them as on the top indicates {hide-if-empty xxx}{/hide}?

Pls help
#236872
  • Posts: 2428
  • Karma: 85
  • Thank you received: 330

mihaela replied the topic: Hide an Empty Fields

Hello,

Please navigate to the View tab in your ContentBuilder view > Advanced Options. Check which "Theme Plugin" you have selected there.

Please try to set it up to "joomla3" and then delete the existing and recreate the "Content Template" using the sample.

Let me know whether that changed anything.

Regards,

Mihaela
#236874
  • codeworks
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0

codeworks replied the topic: Hide an Empty Fields

Hi Mihaela, Thank you for your quick reply as usual.

No, it is still the same.
It is ok until I do not edit and save anything else on any TAB on the Views. Once I change anything and save my details shows N/A for every empty field. see attached.
I am sending my working site for you to test.
Thank you for your assistance.


Part of the message is hidden for the guests. Please log in or register to see it.
#236876
  • codeworks
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0

codeworks replied the topic: Hide an Empty Fields

Hi
Forgot to inform about the "joomla3" Theme Plugin not giving a nice look on my list. I prefer "blank" or "khepri"
Please have a look at my previous reply and help me.
Thanks again!
#236877
  • Posts: 2428
  • Karma: 85
  • Thank you received: 330

mihaela replied the topic: Hide an Empty Fields

Hello,

I understand, but that is how it looks with "blank" or "khepri" theme. Using "blank" or "khepri" theme is the reason why you are getting the N/A if the value isn't entered. If you try to switch to the "joomla3" plugin you will see that the empty fields will no longer appear at all.

Let me know whether it will be acceptable for you to use that theme plugin. Unfortunately, the other option is to have the N/A displayed.

Regards,

Mihaela
#236885
  • codeworks
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0

codeworks replied the topic: Hide an Empty Fields

Thank you, Mihaela,

If it is the case, then I have to manipulate the look as I want.

Is that possible for me to find the CSS of "joomla3" plugin and edit?

I need the label and value as "Label (left): Value(right)" and also I have some Headers and Subheaders on my BreeingForm (Attached) and I am trying to get the look closer to the Form as it has so many fields separated by different sections of the Form.

Hope you understand what I am after.

Thanks!
#236886
Attachments:
Moderators: tomeperica
Time to create page: 0.108 seconds

New Icon Packs Category!

Crosstec is now offering icon packs.

If you are a paying subscriber, icon packs are automatically added to your account.

Check out our icon packs page!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Summer Sale!

50% discount on all of our extension subscription plans, templates and icon packs!

Get Your Subscription Here

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99 for just 49! (Summer Sale)

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here