Here is the HTML code:
HTML Form Builder
jQuery has very helpful function called serialize.
Demo: http://jsfiddle.net/55xnJ/2/
//Just type: $("#preview_form").serialize(); //to get result: single=Single&multiple=Multiple&multiple=Multiple3&check=check2&radio=radio1