Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
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