I need in my app a form, something like typeforms, google docs, etc.
Those are 2 ways I found to make it:
- Creating dynamically attributes in the database: each field is an attribute in the database
- Saving as an array in the database: I would have an array with the forms responses. I think this approach will give me issues while filtering a specific field of the form?
So consequently, I'm not 100% sure of what approach I should take. Maybe the second one?
TL;DR
Title: Building a form with multiple values - Need advice on approach
Message: I'm trying to build a form for my app similar to Typeforms or Google Docs. I've come across two possible approaches:
1. Creating dynamically attributes in the database: Each form field would be an attribute in the database.
2. Saving as an array in the database: Storing the form responses in an array. But I'm concerned this approach might cause issues when filtering specific fields.
I'm unsure which approach to take. Any advice or recommendations? Thanks!
Solution: It depends on your specific requirements and the complexity of your form. If you anticipateRecommended threads
- 1:1 relationship doesn’t sync after re-a...
Hi, I’m trying to use a two-way one-to-one relationship. It works fine when I create a record with the relationship set, and it also works when I unset it. But ...
- Upsert with setting permissions
Hi there, I am using self-hosted appwrite v1.7.4 and trying to use the bulk update stuff that was released with 1.7.x. Unfortunally I found that there is an ser...
- One to many 2 way, console UI not correc...
Hey, seems I'm facing the exactly same issue with this one: https://github.com/appwrite/appwrite/issues/6016 Since this Github issue stay open for so long, let ...