I need to create a system like Google forms. I’m still pretty new to Elixir & Phoenix but I think I’ve come up with a plan of attack. I still need your help to execute it or provide samples.
Problem #1: I need to render dynamic input types based on user selected input types.
Solution: Use a helper to render the actual input form with some type of switch statement based on the type.
Problem #2: How do I allow a user to specify custom input validation? Min / Max, Required, etc…
Solution: Some how store a model in the DB and dynamically apply it as a changeset. Maybe build the changeset using this data and pass it in?
If anyone has any reading material or direction, I’d greatly appreciate it. If my line of thinking is wrong, please point me in the right direct.
Thank you for your time!