Allow usage of tokens in number fields

Issue information

From user: abx

Related to !263 (merged)

Contribution record

Fork management

Problem/Motivation

I try to do math calculation using eca_tamper but the value field is limit to only number, no token allowed.

Steps to reproduce

Try to do the math with 2 fields value but the user interface allow only 1 field that can use token, another field (Value) is only numeric. Already tested by using numeric value and it worked. However, the "value" field should not limit to numeric only. I believe this field works with token too according to quote below:

first value [node:field_decimal_a] into the 'Data' field and the second one ( [node:field_decimal_b] ) to add into the 'Value' field of the action input form.

Then the given token name 'decimal_a_plus_b' displays the result of the adition in a site message.

https://www.drupal.org/project/eca_tamper/issues/3309070#comment-14688679

Proposed resolution

the "value" field should not limit to numeric only.

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information