It looks like this module provides exactly what I was looking for... However, my view requires a conditional check to output only one of two editable fields. Excluding both fields from the view and using a replacement pattern to output one of them does not work. Any suggestion / workaround ?

I've tried to implement hook_query_alter, hook__views_pre_execute without any success...

Comments

joachim’s picture

I'd say you probably need to write a custom views field handler which then outputs one of either of the two fields you want.

https://drupal.org/project/views_compound_field might be useful to copy code from.

p0832414’s picture

Assigned: p0832414 » Unassigned
joachim’s picture

Category: Bug report » Support request
Status: Active » Fixed

Alternatively, you need to use hook_form_alter() to change what's in the form.

Status: Fixed » Closed (fixed)

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