I have an alert that is checking if a form has been filled in, and basically I want to add some extra feedabck so that when the click the 'OK' of the alert button they will travel to that position in the page.

This is what I got so far

else if (document.form2.primarycause.value == "0")
alert("Most likely or actual primary and secondary outcome - Please complete all required fields");
return false;
And also add '1' to value of a variable in php.

$red_line = "";