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