Hi
I want to compare three fields.three fields cannot be same if(document.getElementById("CurrentPassword").value==this.state.NewPassword||document.getElementById("NewPassword").value==document.getElementById("ConfirmPassword").value){ document.getElementById("error").innerHTML="! All Secret code cannot be same"; return false; }
I can create the condtion but some error will appear

AkilaPosted Nov 11, 2021, 9:51 AM
Sachin SinghPosted Nov 11, 2021, 9:39 AM
Vikas PanwarPosted Nov 11, 2021, 9:23 AM