I have developed a dynamic form builder using jQuery UI that allows users to drag form inputs anywhere on the screen and generate a report. Now, I am trying to figure out the best approach for saving this layout to a SQL database. How can I save the structure of the form and create a database table from it so that users can fill in reports and submit them to the database?
Additionally, how should I save HTML element styles like transformations to ensure that I can recreate an existing form if changes need to be made? Any suggestions would be greatly appreciated.