Dynamic Screen Designer

Hello All,

Let us assume we need to design a survey manager. We should allow user to create his own questions and answers. So the answer to the question could end up being a text field or drop down or radio button or textArea etc. Once designed the survey should be given to multiple people.
Each survey will have multiple users and we need to save their answers separately.
Is this possible with Cuba? If so what could be the best way to organize such a thing and allow the user to design his own screen at runtime and show it to multiple users?

Thanks,
Prashanth

It may not be fully suited in detail, but we did similar tasks using dynamic attributes.
Of course, this is not such a simple form designer as Google forms and requires some understanding of what the Data Type is.

1 Like

Hi,

I did such a thing for a previous version of Cuba here: GitHub - mariodavid/cuba-example-survey-ui: CUBA platform example that allows the user to take surveys

It was only option groups if I recall correctly, but probably you can take that as a starting point.

Cheers
Mario

2 Likes

Thank you @mario and @andreyvb. I will look at these and come back with any questions I may have.