Previous | Next | (P-PDF) Beginners
Topic: JavaScript eval ' ' and false in 5.0?
Conf: (P-PDF) Beginners, Msg: 24364
From: george
Date: 7/23/2001 03:05 PM
> Unless I'm missing something simple, JavaScript in
> 5.0 appears to be evaluating field values of an
> empty string and false as the same thing.
Curious. The behavior in previous versions is what you might expect. A workaround for Acrobat 5 is to use the new "valueAsString" property, rather than "value". This isn't backwards compatible, if that's important to you.
> Does my experience or the nature of this question
> make it appropriate for the 'Developers' forum
> heading?
Sure, or you can use "Forms & FDF".
George