Saving to database after designing a form with jQuery/javascript and php
<p>I am currently working on a project which allows users to design a small web form. I give them many options such as font style, bold, underline, colors, borders, etc and all changes made are shown in the form preview immediately using javascript.</p>

<p>To give you a better idea of what this does I would say it is a simpler version of the form builders that aweber and getresponse have.</p>

<p>One problem I am face with is because many of the options are done purely through jquery/javacript: color pickers, bold/underline options, border styles, etc, I am wondering what would be the best way to save all of these options to the database once the design is complete?</p>

<p>I have started creating hidden inputs for all of these options and updating the values of these hidden fields when a design option is changed. Then saving all of the options using a normal form submit after the design is finished but I think surely there must be a better or more efficient way to do this?</p>

<p>Does anyone have any opinions on what would be the best/most efficient way to achieve what I am trying to do?</p>

<p>Thanks</p>
