Avatar

Level 4

Why dont you just put this JavaScript on the exit event of the field (make sure you select JavaScript as the script language):

if (this.rawValue > 100 || this.rawValue < 0){

xfa.host.messageBox("The percentage must be between 0 and 100");

}

You can make the field a decimal field,  Limit leading digits to 3 and de-select the trailing digits. I think thats what you're after.