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;
}
André Arnaud de Cal...
294,430
Super User 2025 Season 1
Martin Dráb
233,043
Most Valuable Professional
nmaenpaa
101,158
Moderator