6. Error: The for attribute of the label element must refer to a non-hidden form control. From line 223, column 2; to line 223, column 21 Number"> Expira
Happy Flowers - Order
Floral Arrangements Seasonal Bouquets Live Plants Shop by Price Place an Order
Your form has been submitted you enter are following data
Happy Flowers • Chicago, IL
//check the same as billing address function. function checkedFun() { if (document.getElementById('deliveyAdd').checked) { document.getElementById('delfname').value = document.getElementById("FName").value; document.getElementById('dellname').value = document.getElementById("lname").value; document.getElementById('delStaddress').value = document.getElementById("Staddress").value; document.getElementById('delCity').value = document.getElementById("city").value; document.getElementById('delZip').value = document.getElementById("zip").value; document.getElementById('delPhone').value = document.getElementById("phone").value; document.getElementById('delstate').value = document.getElementById("state").value;
}
}
//Submit button click function function submitFun() { var text = ''; document.getElementById('text').className = "hide"; document.getElementById('result').className = "show"; if (document.getElementById('chkCongratulations').checked) { text += "CustomText = " + document.getElementById('chkCongratulations').value + " "; }
if (document.getElementById('chkHappyBirthdy').checked) { text += "CustomText = " + document.getElementById('chkHappyBirthdy').value + " "; }
if (document.getElementById('chkHappyAnniversary').checked) { text += "CustomText = " + document.getElementById('chkHappyAnniversary').value + " "; }
if (document.getElementById('chkILoveyou').checked) { text += "CustomText = " + document.getElementById('chkILoveyou').value + " "; }
if (document.getElementById('chkCustommessage').checked) { text += "CustomText = " + document.getElementById('txtArea').value + " "; }
text += "Billing First Name = " + document.getElementById("FName").value + " "; text += "Billing Last Name = " + document.getElementById("lname").value + " "; text += "Billing Steet Address = " + document.getElementById("Staddress").value + " "; text += "Billing City = " + document.getElementById("city").value + " "; text += "Billing State = " + document.getElementById("state").value + " "; text += "Billing Zip = " + document.getElementById("zip").value + " "; text += "Billing Phone = " + document.getElementById("phone").value + " ";
text += "Delivery First Name = " + document.getElementById("FName").value + " "; text += "Delivery Last Name = " + document.getElementById("lname").value + " "; text += "Delivery Steet Address = " + document.getElementById("Staddress").value + " "; text += "Delivery City = " + document.getElementById("city").value + " "; text += "Delivery State = " + document.getElementById("state").value + " "; text += "Delivery Zip = " + document.getElementById("zip").value + " "; text += "Delivery Phone = " + document.getElementById("phone").value + " ";
//for delivery date text += "Delivery Date = " + document.getElementById("date").value + " ";
//for payment var radios = document.getElementsByName('Card'); for (var i = 0, length = radios.length; i < length; i++) { if (radios[i].checked) { text += "payment Type = " + radios[i].value + " ";
} }
text += "CardNumber = " + document.getElementById("CardNumber").value + " "; text += "Exp Month = " + document.getElementById("expireMM").value + " "; text += "Exp Year = " + document.getElementById("expireYY").value + " "; text += "CVV Value = " + document.getElementById("CVV").value + " ";
text += "UserName = " + document.getElementById("Uname").value + " "; text += "Password = " + document.getElementById("Pass").value + " "; text += "Password (verify) = " + document.getElementById("passv").value + " ";
document.getElementById('appendfieldset').innerHTML = text;
}