Hi, 
I am new to Javascript and only know enough about creating PDF documents to be 
dangerous.  I have a field that I want to be hidden unless the value in another 
field equals a particular value.  I found the javascript funciton that performs 
this action very well if I was actually completing the PDF form manually.  The 
problem is that a program extraction fills the data and sends the completed 
form off to the printer.  Itext doesn't seem to recognize the validation action 
with the javascript.  

Even though the specific value is fed to the field in question, the other field 
remains hidden.

Does anyone have any specific help to offer for this issue.  The javascript I 
found is 
      var f = this.getField("hiddenfield");
      f.hidden = (event.value != "specific value");


If you have found some other way of imbedding this functionality into the PDF 
form design so that itext uses it, it would be great.

Thanks for your consideration,

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to