Skip to main content
Topic: Field Population for Number of Icon Images (Read 1962 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Field Population for Number of Icon Images

Manage Membergroups> Edit Membergroup, field is 'Number of icon images'.

If one sets the number to a value that has a decimal, such as 2.5 or 0.a, the field will instantly self populate to a value of '99'. As well, the software will permit 99 icons to be displayed on the membergroup.

It seems to me that the decimal value input is not being error trapped and perhaps should be. I would also suggest the limiting of shown icons to seven or eight icons max.

Re: Field Population for Number of Icon Images

Reply #1

Seems to be the validator class... That's @Spuds' fault! :P
Bugs creator.
Features destroyer.
Template killer.

Re: Field Population for Number of Icon Images

Reply #2

I'll take a look at enforcing a max there as well, although this
Code: [Select]
onkeyup="if (this.value.length > 2) this.value = 99;"
is the cause


Re: Field Population for Number of Icon Images

Reply #3

 emanuele is innocent! (I hope :P)

I was thinking, another test to add to the validation class is "range" (unless it's already there and I missed it).
Bugs creator.
Features destroyer.
Template killer.