Another needs is to convert a char into a number,so for example:
in a number field i want to insert “t” char and convert it into a fixed number.
I’ve tried to intercept both “onAction” and “onDataChange” event (and perform into a function the fixed-number insert) but if the character isn’t a number then no event is invoked
Any suggestion?
(if you are talking about the conversion from char value to a number)
Actually no,
I’ve try to put a converter but the result is the same: the global method coupled with the column converter isn’t invoked
because I have a form in wich I can insert a lot of long number (es: 298325) and if possible I want to
put a special char into the field and convert it into a specific number to perform a fast input
Yes,
but in my case the method isn’t invoked!If i put “t” value then the letter became red and servoy don’t let me to focus out(and the method isn’t invoked)
This is the situation:
[attachment=0]situation.JPG[/attachment]
On the form(created by solutionModel but builded on normal datasource: server–>table) I have an field-object connected with the Qty database-field