Question
Coforge
Coforge
IN
Coforge
Posted: 1 day 2 hours ago
Last activity: 1 day 2 hours ago
Last activity: 16 Nov 2025 1:11 EST
Value resets to 0 after view refresh in Constellation when using On-Change calculation
I have a requirement in Constellation where:
- There is a radio button with two options: Reward Points and US Dollars.
- If the user selects Reward Points, the US Dollar field should auto-calculate based on the reward points and remain read-only.
- If the user selects US Dollars, the field should be editable so the user can enter a value.
I implemented this using an OnChange Data Transform on the Reward Points field to set the US Dollar value. It works initially, but when I change any other property in the view, the US Dollar field refreshes and resets to 0.
Question:
- How can I prevent the calculated value from resetting after a view refresh in Constellation?