On Submit of a form button, I have validated for a text box to be populated by a result from a calculator. If they have not used the calculator to populate the text box, I would like the user to be directed back to the calculator(anchor) on the page. I could just reload the page but then the user would lose all their data that they have already entered on the form.
So far I have this and it isn't working
if document.orderform.House_Age.value = "" then
alert "Please take advantage of the Fee ."
window.location.href = ("top"
end if
thanx
So far I have this and it isn't working
if document.orderform.House_Age.value = "" then
alert "Please take advantage of the Fee ."
window.location.href = ("top"
end if
thanx