I am working and asking for this project for many days. But still was not able to do some things. Mainly because I do not programming and I do not know how to properly create component. This is project: 5Zg9n9VVQm3GpGMqm4vDHh.
The main issue is in the patient form. I am using my own custom form component. I was able to use supabase to fetch question and more information. And used that to create form fields. And was successful. but the main issue is that I need to able to store the values in the state variable, because some question visibility will depend on that. But I do not know how to do that. And also, after doing next phase will be visible and it will be also same. and in the end when pressing done, I want to send all those data of state variable to go straight to database. I am really lost because I do not know programming nor how to properly make it work!