Skip to main content
Inspiring
February 15, 2018
Answered

CP9 - TEB wont advance when only numbers entered.

  • February 15, 2018
  • 1 reply
  • 245 views

CP9 all current patches.

HTML5 only

Not responsive

Hello,

I have a TEB with Options set to 'Allow All'.

The TEB works correctly when I enter alphanumeric, such as ABC123

The TEB works correctly when I enter alpha, such as ABC.

Problem:

The TEB does not allow me to advance if I just use numeric, such as 123

Anyone know where I'm going wrong?

Cheers.

Peter.

    This topic has been closed for replies.
    Correct answer petern33480613

    I found the problem.

    I was passing the value of the TEB to some javascript.

    The javascript expected to receive a STRING.

    Some when the TEB value was ABC or ABC123, it worked because it is a string.

    But, when the TEB was 123, it failed because it is a value.

    I used .toString in the java to solve the problem.

    1 reply

    petern33480613AuthorCorrect answer
    Inspiring
    February 15, 2018

    I found the problem.

    I was passing the value of the TEB to some javascript.

    The javascript expected to receive a STRING.

    Some when the TEB value was ABC or ABC123, it worked because it is a string.

    But, when the TEB was 123, it failed because it is a value.

    I used .toString in the java to solve the problem.