Enhancement Request - Hide fields in editor

6 posts by 2 authors in: Forums > CMS Builder
Last Post: September 4, 2018   (RSS)

This may seem counter-intuitive, but please let me explain...

We have a rather complex set of fields in our "Main Navigation" or "Main Pages" section of our sites.  Not all of our users need or have paid for all the fields.  However, my code base assumes some of the fields exist - for the most part, I do check with if (!empty($field)) before doing anything with it, but in some of our code, I'm sure I don't.

It would be incredibly wonderful, rather than removing fields from the editor, to simply be able to hide them so that users can't see them.  In the section editor, you'd obviously be able to see all of the fields so you can unhide them if necessary, but while editing rows in that particular section, only the fields that were not hidden would show.

We have a set of about 60 different tables we install on every site.  In the account setup, we give the users access to the tables they need (or have paid for).  It would be great to also be able to hide fields that a user either doesn't need to see (less confusion) or if they are related to functionality for which the user has not paid (reduces the explanation related to "what does this field mean").

You could try setting the field type to system. That might do what you need. You might also look at the free add on 'showHideDependentFieldsPlus'. In combination that would give you a lot of options.

Jeff Shields

To return a field to regular use, edit the field and under advanced, click the system field checkbox off.

Jeff Shields

Duh - I forgot to "enable system field editing" from the drop-down at the bottom of the page.

Gary.

That actually works perfectly - by setting the field to System and setting it to Admin only, we will see the field, but the customer will not.  That's perfect!

Thanks,

Gary.