Posted Tue, 11 Dec 2018 08:59:44 GMT by

I have a text field on an iForms template. I only want to print the text when a field in my database file is equal to "NO ". Here's what I have so far...

$F{W3LREFORM}.equals("NO ") ? Boolean.TRUE : Boolean.FALSE

I can run a query and see the value of W3LREFORM is equal to "NO ". I'm a little iffy on using the Expression Editor and haven't found help in the manual.

Posted Tue, 11 Dec 2018 09:15:06 GMT by

Hello Joel,

Your expression would look something like this:

new Boolean(${W3LREFORM} != null && ${W3LREFORM}.matches("[N][O]")) --> "[N][O]" is the regular expression for "NO"

Let me know if that works for you.




You must be signed in to post in this forum.