<input type="button" onclick="document.form.emailform.action = 'emailform.php' ; document.form.emailform.submit();" value="תצוגה מקדימה" />