I need to fill a value of an extended hidden field when calling the form BadgeSettingsForm (for printing badge), so when the form submitted I can get the value of that extra field.
The value used for that extra field will come from the request calling the Print Badge (RHRegistrationsConfigBadges).
I already add the extra field to the form, and would like to initialise that field in the init of the form.
To do that, I would like to have a signal between “settings= …” and “form = BadgeSettingsForm(…setiings)” of RHRegistrationsConfigBadges.process,
that will allow me to add some settings before rendering the form.
Is that possible ? or some better suggestion to do that ?