I got a problem whan i go to previous page on a form, I want to keep all the data entered on the field (this point is ok) but got a problem with specific field :
I have 2 field which, when fullfilled, put the other one on hidden
function hideElectrodeInterne() {
var x = document.getElementById("data_entry_form_electrodeInterne");
if (x.style.visibility === "hidden") {
x.style.visibility = "visible";
} else {
x.style.visibility = "hidden";
}
}
But when i go on this page with a return, the field is fullfilled with previous value but the js doesnt have trigger, which is annoying . Is there a solution for this ?