open-formulieren / open-forms

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

Allow form builders add custom "start form" button, that act like the "auth_*" variables #2597

Open LaurensBurger opened 1 year ago

LaurensBurger commented 1 year ago

Thema / Theme

Form designer

Omschrijving / Description

internal: Utrecht

As a form designer i have the possibility to build forms that can be used for multiple groups. I can already use the "auth_*" variable to show each group the parts of the forms that are required. I would like to have this same function available but for non-authenticated users. meaning the user can choose between: non authenticated kvk, not authenticated bsn.

This will allow me to skip building extra questions and conditions for the users of both groups that would currently have to answer questions or pick which group they are in.

This feature could also include to be able to create 2 url's to this form that can be shared with each group: /formname/?person /formname/?business The start screens for these forms will differ in what buttons are shown to each group as they will only see the buttons related to this group.

Added value / Toegevoegde waarde

No response

Aanvullende opmerkingen / Additional context

No response

hlmr-erik commented 8 months ago

This does sound like a really nice feature to have. By extension (of the last part of this story), to be able to pass a query parameter which would get turned into a 'temporary' (session) user variable seems useful to send out links to specific users so that a single form could present the relevant user with the relevant info.