Append form data to URL but without using PHP