Calculate {result} based on a custom formula and input {data}

Hello,
together, I have maybe a strange question.

I need to calculate a {result} based on a custom {formula}, which will be created and added to the {formula} field by a user, this {formula} is using as input {data} field.

Does someone have an idea how to solve this?

BR

you can use the eval() function, dangerous for security risks, and also you have to manage the field names because {filedname} has no meaning in PHP or JS.

1 Like

Use javascript function EVAL: