Advertisement
Guest User

Untitled

a guest
Feb 6th, 2014
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cur_frm.cscript.custom_validate = function(doc){
  2.         if(doc.id_number != 13){
  3.            msgprint("ID number cannot be less than 13 characters long")
  4.         }
  5.  
  6.         if(doc.bank_acc_name = 'City Bank'){
  7.            doc.branch_code = 'City 4013'
  8.         }
  9.  
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement