Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

RE: Forms : Input Values Check (restrict input values)

$
0
0

yes sir you are right ...please see this

public boolean validate()

{

   boolean ret;

   ;

  if(AXM_ItemMacAddress.StartMacAddress ==  ' : ')

  {

      info('You cannot insert this value');

      ret = false;

  } else {

   ret = super();

   }

   return ret;

}

the problem is here is the error or check only comes into action when the inserted value equals

:(colon)... but I want the error to be there for values like AA:  or 12:12 etc etc

I would be great if I can replace the == in the code with "contains "..  :(

please help


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>