Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

newText.match not working properly

$
0
0

I have a dynamic form that uses extensive Javascript.  It works great when I open it in Adobe Reader 11 but when I open it with Adobe Reader 10.01 the following code in a text field change event does not execute correctly:

 

if (xfa.event.newText.match(/[^0-9-:;,]/))

    xfa.event.change = "";

else

    if (xfa.event.newText.length > 0)

        xfa.resolveNode("this.ui.#textEdit.border.fill.color").value = "255,255,255";

 

any ideas?


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>