Validating Fields in JavaScript
Hi,
We are trying to hide the text while entering into the text field and show the text after submitting the form. We need to know where we need to add this code
we used the below code
var a=this.getField("cityname") ;
var aValue="";
this.getField("cityname").onkeyup = function() {aaa()};
function aaa()
{
var inputvalue=a.value.substring(a.value.length-1);
if(a.value.length<=15)
aValue+="*";
else
aValue+=inputvalue;
a.value=aValue;
}
