Crocoblock / jetformbuilder

72 stars 15 forks source link

BUG: Calculated Value Property not working with Generator Function #445

Closed cwinkler8 closed 2 weeks ago

cwinkler8 commented 3 weeks ago

I have a form that is using the Generator Function to pull values from a repeater query. The repeater has 2 fields... Description and Price. Following the documentation below, I set the 'values' and 'labels' properties using my description field (text) and the 'calculated values' property using my price field (numeric). In a subsequent calculated field, attempting to use use a mathematic calculation fails because the value property is not numeric. As I understand it, the calculated field should be referencing the 'calculated value' property, but it is referencing the 'value' property instead.

https://jetformbuilder.com/features/multi-optional-field-source-settings/#generate-dynamically

I have temporarily worked around the issue by setting the value property to the price, but this is not correct and will not work in the long-term. If I have two options with the same price, I will not know which option was selected.

Crocoblock commented 2 weeks ago

Hi @cwinkler8

It's a known bug and we'll fix it in one of the updates For now use placeholder

Thank you for your report!