Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

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

Avatar

Level 2

Hi,

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

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi there,

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

like the following

Hope this will help you

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi there,

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

like the following

Hope this will help you