Four Js Development Tools Forum

Discussions by product => Genero BDL => Topic started by: Bryce S. on February 10, 2009, 02:56:46 am



Title: SPINEDIT - how to limit range?
Post by: Bryce S. on February 10, 2009, 02:56:46 am
Hi,

I've just tried to use a spinedit for the first time.
I wanted the numbers 1 through 7 or a blank be allowed.
Is there a way to set these limits for the spinedit widget?

I tried an include statement, but this is ignored until leaving the field.
If I make the field blank spinedit changes it to zero on leaving the field, which is then not an acceptable value.

If it was never meant for this I guess I can use a combo box - it's just not as pretty in this particular situation... (is an input array with up to 7 lines of these - user is to set which lines they want and in what order by setting a number in the field or leaving it blank).

Regards,
  Bryce Stenberg.