Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

OnBlur...

I have 62 fields that needs to be verified, So I am wondering how to pass the name of the field instead of the value I guess.
The function I found on the site kind of does it, I modified it but I cannot have 62 functions of course...
This is in my field
this.value = validateChar( this.value );
This in the JSheader
// validation of all fields for P or T or ""
function validateChar( TP ) {
if(document.IND_PPL_1 != "" || document.IND_PPL_1 != "T" || document.IND_PPL_1 != "P") {
alert("Enter only, T , P or nothing.");
document.IND_PPL_1.focus();
return false
}

any help would be great!

thanks
Paul


Feedback response number WEBB8EYMT9 created by ~Olga Bubkrovitch on 03/15/2011

Forcing upper case in a field on th... (~Olga Bubkrovit... 15.Mar.11)
. . OnBlur... (~Vanessa Prepon... 15.Mar.11)
. . . . OnBlur... (~Olga Bubkrovit... 15.Mar.11)
. . . . . . OnBlur... (~Olga Bubkrovit... 15.Mar.11)
. . . . . . . . Use a function that takes the objec... (~Vanessa Prepon... 15.Mar.11)
. . . . . . . . . . Onblur... (~Olga Bubkrovit... 16.Mar.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS