#Database / questionnaire

12 messages · Page 1 of 1 (latest)

deep nestBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

muted thicket
#

you can create something like a multi step form and in each step there is one question with multiple select options. Like that the client can only choose one option at a time and also answer only one question at a time.

The step state (which is the currenct step) can be saved inside a useState.

worldly locust
#

sounds good, just i dont realy know how to make it in the code :/

muted thicket
#

u r new in the web developement scene?

worldly locust
#

ye

#

I make my bachelor work and there i need this

muted thicket
#

oh ok.. it's pretty hard to integrate a complex scenario when not knowing what you are doing... so if you have some time, start with the basics (only the important things) understand what you are doing and then integrate this functionality

worldly locust
#

now its working, now i dont know how to get data under one id.

pliant grove
#

Pretty simple. You create a simple struct where you store:

  1. the id of the question
  2. Any information about the person that you want to see
  3. The answer

When listing the answer you can match this struct with the questions array replacing all the questionIds with the actual questions

pliant grove
worldly locust
#

now one feedback I get back like this, so thats why i just want it under one id.

deep nestBOT
#
✅ Success!

This question has been marked as answered! If you have any other questions, feel free to create another post

Jump to answer

[Click here](#1235630224427847680 message)