Because of node related tokens are not available/accessible to entityform module ,I am not able to pass token using patch @Use tokens for entity selection view arguments.

I came across another solution with the help of RoboPhred's info #2 and patch #3 . As a detailed info by RoboPhred , the idea is to pass nid as additional argument with autocomplete path and get the terms at views using php code.

I managed to create a patch, however this seems working for only single field or first field of multivalue field i.e if "add to another item" is clicked then nid is not passing. I think this is the same problem as described at Provide alter hook for view arguments by mistermastermatt. In that thread patch is provided but I don't know what to extract from there and modify my patch :(.

For time being I am making mutivalue field setting to some static instead of unlimited so that element get rendered on form load. This way nid is passing but need to make it work when fields get added dynamically.

Attaching the patch , any help on modifying this is greatly helpful.

Comments

nithinkolekar’s picture

StatusFileSize
new4.28 KB

corrected space and line endings.