Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
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