Default: value not taken into account

Hello,
input fields values are not computed right when they take their default: value.

For example: if we have a field “Value” with a default: of 5, and a column “Double” which displays its double (value*2)
The Double will display “0” although the field contains “5”.
How to solve this?

Default values are not automatically saved in the database. We solve this problem by assigning a local variable which contains the default value if the database value is blank. The shortest way to do this is:

{% input custom.some.value as:currency default:5 assign:some_value %}
{{ some_value*2 }} 

Kind regards
Sam

Thank you :slight_smile: