Here is a form making program I made

As part of my internship in software engineering, I was asked to make a form with a sorted table included. Rather than do this by hand, I made a form making program. It is a python program. It takes a single input.json text file, process that file, and produces a populated folder that can be placed in the forms folder.

I thought I’d share this, and if anyone wants to give it a try and let me know of suggestions, please do. I did some basic documentation. I have an example input file which can be used as a template.

If someone finds it valuable please let me know and also any ways I could improve it.

2 Likes

Rather than creating a new folder and using forms mechanism, if you have db experience you may want to explore storing output as layout. You can pickup background login information from sqlconf.php file in sites directory. That will make this utility useful for background import of form definitions.