Output of the pure value of the field without markup for node reference field type

Created on 12 May 2023, about 1 year ago

Problem/Motivation

There is a need to add a hidden field in the web form that will transmit the title of the material linked to the current node (the node reference field). Now the token is inserted with markup:

<a href="#" hreflang="ru">My title</a>

The token used:
[current-page:node:field_name]

It seems to me that a good solution would be to add a pure value to the token without markup, which can be called by analogy with other tokens:

[current-page:node:field_name:value] or [current-page:node:field_name:entity:title:value]

✨ Feature request
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡·πŸ‡ΊRussia mr.pomelov

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024