how can I get the inputs from html form and get printed on a new html page? its like it should show the inputs in a new page when they are submitted.