This is a migrated thread and some comments may be shown as answers.

Mixing text and number in NumericTextBox

1 Answer 35 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
Andre Beauchamp
Top achievements
Rank 1
Andre Beauchamp asked on 10 Apr 2013, 06:58 PM
I want to use NumericTextBox to input student scores. Most of the time this is numbers. It's easier with tablets.

However we have some special codes that we have to treat.

Like "AB" for Absent, ou "EX", Exemption.  We convert these code to negative numbers, on input/output.

What do you think is the better way to deal with this kind of input with Kendo ? 

Thanks

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 11 Apr 2013, 08:26 AM
Hello Andre,

The NumericTextBox has been designed to accept and handle numeric input only. If using some custom logic (such as negative numbers) is considered inappropriate, I advise you to use a separate field for the AB / EX designations.

All the best,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
NumericTextBox
Asked by
Andre Beauchamp
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or