I want to add value to a form without losing the previous form value e.g bat becomes batcat cat value-added
function saveanwser() {
x= document.form1.writeoutput.value
y = document.form.writeinput.value
document.getElementById("writeinput").value = x+ y
};