The problem is how you are trying to get the value. Such things as...
if ( document.frm_new_user_request.u_isid.value == '' )
will not work. You need to find the item that you want to get first. This does not quite resemble a server-side language, where you can enter the name of the object reference and the period to receive or assign values.
document.getElementById('[id goes here]').value;
will work. Note: JavaScript is case sensitive.
I would recommend using:
var variablename = document.getElementById('[id goes here]');
or
var variablename = document.getElementById('[id goes here]').value;
source share