Hi Leon,
The form data comes from a query, meaning you have a form binded to a query, right?
In that case, you have 2 options:
- When assigning variables you use the query fields (which have values on the Preparation unlike the Form which has to be rendered first) to calculate them;
- You explicitly assign the Form to the value of the query before the assign of the local variables, so the Form fields have the value when you are calculating the local variables.
Hope it helps.
Regards,
João