NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Matthew51 on November 15, 2018, 02:17:26 PM

Title: Spinner Validation
Post by: Matthew51 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.
Title: Re: Spinner Validation
Post by: Bruce 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
Title: Re: Spinner Validation
Post by: Matthew51 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?

Title: Re: Spinner Validation
Post by: Bruce 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