ayeen wrote:
>
> i was wondering how you found out about the "Yes" "Off" values (yeah, i
> didnt make the pdf, someone else designs it and i just know how to view the
> pdf field names) i didn't know that "export value" in the options tab
> is the one that defines the values for a check box.
i was wondering how you found out about the "Yes" "Off" values (yeah, i
didnt make the pdf, someone else designs it and i just know how to view the
pdf field names) i didn't know that "export value" in the options tab
is the one that defines the values for a check box thanks super 1T3XT
o: Post all your questions about iText here
> Subject: Re: [iText-questions] getting null values for
> getAppearanceStates()
>
> ayeen wrote:
> > what i was doing is :
> >
> > form1.setField("Rail", "On");
>
> "On" is not defined in
ayeen wrote:
> what i was doing is :
>
> form1.setField("Rail", "On");
"On" is not defined in your form.
The checkbox Rail has two possible states:
"Off" and "Yes". In other words: you designed
the form so that you should do:
form1.setField("Rail", "Yes");
Don't ask me why, that's how YOU define
i'm using adobe acrobat 5
and the checkbox im using are the 3 unlabeled boxes under "Justification"
it has the fieldnames: "Rail" "Air" "Ship"
what i was doing is :
form1.setField("Rail", "On");
http://www.nabble.com/file/p15424974/AyeenPDF.pdf AyeenPDF.pdf
thanks again!
Paulo Soare
If you don't provide a link to the PDF the problem wil stay with you.
Paulo
- Original Message -
From: "ayeen" <[EMAIL PROTECTED]>
To:
Sent: Monday, February 11, 2008 8:56 PM
Subject: [iText-questions] getting null values for getAppearanceStates()
>
> hi!
sorry..there's a typo
should be: form1.getAppearanceStates(pdf_field_name);
ayeen wrote:
>
>
> so i tried calling: form.getAppearanceStates(pdf_field_name); to see what
> values i could use but it's returning me a null value ...
>
>
--
View this message in context:
http://www.nabb
hi!
i checked the fieldType of my pdf_field_name and it's returning 2 which
means it really is a checkbox.
i called the : form1.setField(pdf_field_name, "On"); but that check box is
still not checked.
so i tried calling: form.getAppearanceStates(pdf_field_name); to see what
values i could us