Code: [System: Formula] Mobileno :$$String:"91" + $Ledgermobile:Ledger:$Ledgername [Function:onformaccept] 10 : QUERYBOX : "Send Whatsapp Message" : Yes:No 20 : IF : $$LastResult 30 : CALL : CHEKIF 40 : ENDIF [Function:CHEKIF] 10 : IF : $$StringLength:@@mobileno = $$String:"12" 20 : Msg Box : "Error" : "Phone is valid" 30 : ELSE 40 : Msg Box : "Error" : "Phone Not valid" 50 : ENDIF I am trying to use mobile validation in tdl I tied following code but it seems to not working what the problem i cant found please help me to solve the problem
Check Mobile number field in Master.....Is it String........... you have not added $$String in your formula....just the string:91 Also your condition in Function...why are you comparing it with string instead of number?? $$StringLength@mobileno = 12