You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, FormCollection allows grouping identical forms within the same collection, with a single button to add a new instance of the same form. This is a great feature, and I would like to suggest a way to potentially enhance the user experience by introducing form templates.
Use Case
In scenarios where users frequently need to input similar forms but with prefilled fields based on predefined templates, having multiple "Add" buttons to add different variations of a form would improve efficiency and reduce repetitive input.
Let's say we are working with a list of questions that users can input.
In this specific example, the data sent by each form would be something like:
The question text (formatted, where applicable)
The answer type (e.g., yes/no or numerical minimum)
The preferred answer (this can be stored as an integer for both answer type cases)
Users could
Add a custom question manually via a + Custom Question button.
Use a predefined template (e.g., + Skill, + Driver's License) to automatically populate some fields, reducing effort for common cases.
Example
I've attached an image from LinkedIn's job posting form to better illustrate this concept:
Implementation notes
The main functionality needed is for a FormCollection to allow adding multiple forms that all output the same JSON structure but can be added via different buttons, each tied to a specific "template.
I’d love to hear your thoughts on how to best implement this, such as if there are any existing patterns in FormCollection that could support multiple this functionality.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently,
FormCollection
allows grouping identical forms within the same collection, with a single button to add a new instance of the same form. This is a great feature, and I would like to suggest a way to potentially enhance the user experience by introducing form templates.Use Case
In scenarios where users frequently need to input similar forms but with prefilled fields based on predefined templates, having multiple "Add" buttons to add different variations of a form would improve efficiency and reduce repetitive input.
Let's say we are working with a list of questions that users can input.
In this specific example, the data sent by each form would be something like:
Users could
+ Custom Question
button.+ Skill
,+ Driver's License
) to automatically populate some fields, reducing effort for common cases.Example
I've attached an image from LinkedIn's job posting form to better illustrate this concept:
![form](https://private-user-images.githubusercontent.com/44536334/401711758-7fa38899-d071-4f9d-8a21-2be94810d6f7.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NjUzNzQsIm5iZiI6MTczODk2NTA3NCwicGF0aCI6Ii80NDUzNjMzNC80MDE3MTE3NTgtN2ZhMzg4OTktZDA3MS00ZjlkLThhMjEtMmJlOTQ4MTBkNmY3LlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDIxNTExNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMxNGY3NDI3MmYzY2I3MDZmMWE0M2FmODA3NzkyNDEwYmQwODdiNmUxNDZlMzVmZGU1YjQ3Njg3YzlkZTgzMjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.-_Te7TwtUt82OImKziZOgKzWevIxMXFUM8Effa8H-B4)
Implementation notes
The main functionality needed is for a
FormCollection
to allow adding multiple forms that all output the same JSON structure but can be added via different buttons, each tied to a specific "template.I’d love to hear your thoughts on how to best implement this, such as if there are any existing patterns in
FormCollection
that could support multiple this functionality.Beta Was this translation helpful? Give feedback.
All reactions