Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments
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