on 02-10-2005 8:02 AM
Hi,
Yesterday I tested my inputFields which are set to validate and only allow <b>INTEGER</b> values.
<htmlb:inputField id = "test"
alignment = "LEFT"
size = "6"
required = "TRUE"
doValidate = "TRUE"
type = "Integer" />
While checking the boundary values I noticed something strange. The following testcases didn't caused the "enter a numeric value" popup to appear.
1) Inputfield= .
2) Inputfield= -
3) Inputfield= -0
4) Inputfield= .0
5) Inputfield= .-3
6) Inputfield= .+3
7) Inputfield= 3-.
😎 Inputfield= 3.-
I am not an expert in mathematics but I think especially testcases 2) and 5)-8) are not valid integers. So is this a bug? If yes I will of course open an OSS message. (We are using 620 SP47)
regards
Thomas
Hi Thomas,
I would say it's a less stringent condition rather than a bug. It is always recommended to check the input values by yourself, but you're right, values like .3 aren't integers from the mathematical point of view.
If you really need this functionality, you can open a OSS message on the component BC-BSP with the comment that it should be routed to the development support.
Regards,
Rainer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.