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

Text transformation on field (Remove spaces)

$
0
0

I'm trying to remove all spaces from a field after the user has entered text (on a specific form only). Currently I tried to use the modified method on the form's datasource, but as expected I received a stack trace error due to an endless loop. Has anybody come across automatic transforms for fields or any other way to accomplish this?

Current code

publicvoid modified()

{

    this.setValue(strReplace(this.getValue()," ", ""));

    super();

}


Viewing all articles
Browse latest Browse all 72043

Trending Articles



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