NetTalk Central

Author Topic: Spinner Validation  (Read 5111 times)

Matthew51

  • Full Member
  • ***
  • Posts: 152
    • View Profile
    • Email
Spinner Validation
« on: November 15, 2018, 02:17:26 PM »
I set a low value of 1 for my spinner.  It stops the user from using the arrow keys to enter a 0 quantity, however if the user types in a quantity the no checking is done to validate the value.  This is the case for both the form spinner and the edit in place one.  If I use the number type (and the browser adds the arrows) everything works as expected.

Edit: I added the validation code by hand, and confirmed that the generated code is just missing if it's a spinner type.
« Last Edit: November 15, 2018, 02:34:14 PM by Matthew51 »
Contractor with 10+ years of NetTalk experience looking for work.
www.linkedin.com/in/matthew-leavitt
BisWare.ca
Check out my free EasyTime Template

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11247
    • View Profile
Re: Spinner Validation
« Reply #1 on: November 16, 2018, 12:07:17 AM »
Hi Matthew,

which NetTalk build are you using?
I was not able to replicate your problem on a form in 11.02. the Validation entered there was applied - if I typed something wrong it complained.
So maybe a small example will help?

There isn't support for a Spinner on a browse EIP at all, so not sure what you are referring to there? Again and example will help I think.

cheers
Bruce

Matthew51

  • Full Member
  • ***
  • Posts: 152
    • View Profile
    • Email
Re: Spinner Validation
« Reply #2 on: November 16, 2018, 01:44:58 PM »
Hi Matthew,

which NetTalk build are you using?
I was not able to replicate your problem on a form in 11.02. the Validation entered there was applied - if I typed something wrong it complained.
So maybe a small example will help?
NT 10.25 so maybe it's fixed in current versions.

There isn't support for a Spinner on a browse EIP at all, so not sure what you are referring to there? Again and example will help I think.
Their is for me.  Did it get removed in NT 11?

Contractor with 10+ years of NetTalk experience looking for work.
www.linkedin.com/in/matthew-leavitt
BisWare.ca
Check out my free EasyTime Template

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11247
    • View Profile
Re: Spinner Validation
« Reply #3 on: November 19, 2018, 11:10:59 PM »
Hi Matthew,

hmm - just looked again and it _is_ there... so why did I miss it yesterday? not sure...

cheers
Bruce