Editmask
Posted: Tue Nov 27, 2018 4:42 pm
Hi
We often have difficulties to implement the required Field "editmask".
We have the following field specification:
1. If the field is Null a placeholder value should be displayed
2. If the field is 0 the value should be displayed as 0.00 or 0,00
3. Two decimal digits allowed
Each approach wasn't successfull.
Result:
1. We can't show a placeholder
2. We can't show a 0.00 value as '0.00' (only as '.00')
3. Sometimes the setfocus is not correct. Means: sometimes the value is selected, sometimes the focus is on the end of the field and you first have to delete the .00 value to enter a new number
We played with the following combinations:
Does anyone have the solution?
Thanks for help
Update after applying EPC142030:
EPC142030 solves the problem with "placeholder". The problem with unnatural focus behavior for fields with their own editmasks is still there.
We often have difficulties to implement the required Field "editmask".
We have the following field specification:
1. If the field is Null a placeholder value should be displayed
2. If the field is 0 the value should be displayed as 0.00 or 0,00
3. Two decimal digits allowed
Each approach wasn't successfull.
Result:
1. We can't show a placeholder
2. We can't show a 0.00 value as '0.00' (only as '.00')
3. Sometimes the setfocus is not correct. Means: sometimes the value is selected, sometimes the focus is on the end of the field and you first have to delete the .00 value to enter a new number
We played with the following combinations:
Does anyone have the solution?
Thanks for help
Update after applying EPC142030:
EPC142030 solves the problem with "placeholder". The problem with unnatural focus behavior for fields with their own editmasks is still there.