I have a few fields that should not be visible in view (depending on author/role), but editable. However if I only tick the editable for the author it does not show up in the form. Only way is to also tick the visible.

Is this really how it is supposed to work?

Using Workflow Access it was possible to make it work like this.

Comments

infojunkie’s picture

Status: Active » Closed (works as designed)

Yes that's how it's supposed to work. The rationale is that you can't edit what is not visible.

tsvenson’s picture

But that contradicts how the workflow access functions?

Is there any other way I can have a field available for only editing for author or certain roles but not viewable?

infojunkie’s picture

You mean the person who edits the field cannot view it? What's a scenario for that?

tsvenson’s picture

Ah, I think you misunderstood me. If you look at the default workflow access it works so you can set what is in the view and what is in edit.

The way I have used it is to set up so for certain field, mainly using the a user Content Taxonomy module to let users suggest new terms to a taxonomy vocabulary. Then a content admin looks at the form and will be able to add those new terms to the taxonomy.

Thus, I want the author to be able to add those suggestions in the form, but I want the view of the form to be the one that everyone else sees.

With the Workflow Access that is how it works, I can define which field that are viewed in the view and which fields that are viewed in edit.

I think being able to do so is beneficial as it allows me to do the above, have fields that only lives in edit that are useful for content admins but are never visible for the general public.

infojunkie’s picture

Assigned: Unassigned » infojunkie
Status: Closed (works as designed) » Active

Thanks for explaining, I understand now. I'll see how it can be done.

csc4’s picture

Subscribing - I'd be interested in this too

infojunkie’s picture

Title: Visible a must for editable to work? » Add option to hide fields from view but show them in edit
Version: 6.x-1.1 » 6.x-1.x-dev
Category: support » feature
infojunkie’s picture

Status: Active » Fixed

Fixed in the latest dev. Please try it 12 hours from now and let me know.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.