Hi once more,

When I create a form containing multiple fields and marking some as
"required", the setting is not enforced when I submit the form most of
the time. It only works "sometimes" ...

Here's what I do do mark a textfield as required:

----------CUT----------
TextField tField = new TextField( 
        pdfWriter_, 
        new Rectangle(llx, lly, rux, ruy), 
        fieldname 
);
tField.setText( content );
tField.setOptions( TextField.REQUIRED );

pdfWriter_.addAnnotation( tField.getTextField() );
----------CUT----------

Am I missing something here?

regards

Udo Rader        

-- 
B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
------------------------------------------------------------------------
udo rader              technischer leiter/CTO   mobile  ++43 660 5263642
------------------------------------------------------------------------
eduard-bodem-gasse 8/3    A-6020 innsbruck      fax      ++43 512 935833
http://www.bestsolution.at                      phone    ++43 512 935834

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to