The user provides info in a table:
That validation field is filled in via a stored procedure that queries Laserfiche:
If the record (Doc ID + Doc No + Revision) are in the system, it returns a "1", otherwise, it returns a -1 or 0. This has been made available but not required. Now I'd like for the user to receive a message when the number is NOT a 1. Any ideas on how I could go about that? Here's what I've tried so far:
$(document).ready(function(){ //Validation is now required - Must show a 1! $("input[id^=Field49(1)]").change(function () { if ($(this).val() != '1'{ alert('Validation = 1 is now required. The document number format must match exactly as it is in Laserfiche.'); } }); }); //close document.ready
Thanks!