Hello,

I defined a content type with two CCK fields of "Spreadsheet" . How can I reference a cell from one "Spreadsheet" field to another?
Many thanks in advance (and especially for this great module )

Comments

infojunkie’s picture

Category: support » feature

Sorry for the late reply. For the time being, the cell reference syntax does not support multiple CCK fields. I turned this into a feature request.

infojunkie’s picture

Implemented the ability to refer to an exact field/item in any node. Here's the formula syntax:

="nid or node title/field machine name or label/item delta"!cellref

where field machine name or label is optional and defaults to first found sheetfield, and item delta is optional and defaults to 0.

infojunkie’s picture

What's missing is referring to other sheets on the same page.

izarco’s picture

How to reference to the current node?

infojunkie’s picture

Component: CCK field » Core
Status: Active » Fixed

Implement ability to refer to other sheets on the same page, using the syntax:

="field machine name/item delta"!cellref

where item delta is not optional. item delta is zero-based.

Note that you will need to get the latest code from GitHub in order to support this functionality.

infojunkie’s picture

Update: CCK sheet fields now accept titles. You can refer to other sheets on the same page using the syntax:

="field machine name or field label/item delta"!cellref

or

="sheet field title"!cellref
infojunkie’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Fixed » Patch (to be ported)

To be ported to D7.

infojunkie’s picture

Port to D7 pending this question: http://drupal.stackexchange.com/questions/30301/update-field-schema. Any help would be appreciated.

infojunkie’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

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