Previous | Next | (P-PDF) JavaScript
Topic: mandatory field
Conf: (P-PDF) JavaScript, Msg: 28516
From: lmp
Date: 10/13/2001 12:41 PM
I have a form, my client required me to write javascript for that Last Name, First Name, and address.
I write javascript in validation
function checkit()
{
var str=event.value
var str=getField("st_number");
if ((event.value==null)||(event.value=="")){
app."Enter the street number.");
event.rc=false;
}
it works, but the value is still in the field,and the message pop up when I click clear form button. Do I miss any thing in javascript.
Cindy Minh