public boolean validateWrite()
{
boolean ret;
TextBuffer txt = new TextBuffer();
ret = super(); // if extension use next validateWrite()
txt.setText(this.InvoiceId);
txt.regularExpressions(true);
if (txt.find("^[A-Z 0-9]+$"))
{
ret = true;//info("string contains only numbers");
}
else
{
ret = checkFailed(strFmt(" Conatin the Special Character"));
}
return ret;
}
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,524 Super User 2024 Season 2
Martin Dráb 228,493 Most Valuable Professional
nmaenpaa 101,148