How to check if a numeric field value is Integer or not?

Avatar

Avatar

TehnologiaInformatiei

Avatar

TehnologiaInformatiei

TehnologiaInformatiei

15-03-2016

Hi,

In a LiveCycle Designer ES4 form, how to check (on field exit) if a numeric field value is Integer or not?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Magus069

MVP

Avatar

Magus069

MVP

Magus069
MVP

15-03-2016

Hi there,

you can verify if the rawValue contains a "," or "." by using indexOf

like the following

Hope this will help you

Answers (1)

Answers (1)

Avatar

Avatar

TehnologiaInformatiei

Avatar

TehnologiaInformatiei

TehnologiaInformatiei

15-03-2016

Thank you very much, this is it!