open-formulieren / open-forms

Smart and dynamic forms
https://open-forms.readthedocs.io
Other
37 stars 26 forks source link

Make it possible to set the submission price from a form variable #4764

Closed sergei-maertens closed 1 month ago

sergei-maertens commented 1 month ago

Thema / Theme

Form designer

Omschrijving / Description

Currently the submission price is determined by either:

A third variant is desired: point to a form variable holding the price value. This should be limited to variables of the type number.

Added value / Toegevoegde waarde

For complex calculations, specifying out the logic rules is tedious and error prone, and another system may be the source of truth for the prices which can be queried using service fetch.

This allows managing the price information in its own respective system, while still being able to handle the payments through Open Forms.

Aanvullende opmerkingen / Additional context

DH would need this still this year, which doesn't fit our release schedule (3.0 is for the end of the year).

If possible, an approach where we can include this in a bugfix release would be greatly appreciated.

Additionally, the priority has been determined as more important than the soft-required validation for horecavergunning.