-------------- Original message ----------------------
From: "Haluk Acar Güner" <[EMAIL PROTECTED]>
>
> My requirement is simple (or I thought so).
> When the user clicks on the Submit button, I want check that all the fields
> are filled in (not empty) before submitting the form and not submit the form
> otherwise.
Look for the "REQUIRED" option of TextFields. There is an example of its use on
page 485 in the book. Acrobat/Adobe Reader will not "submit" a form that has
"REQUIRED" fields that are empty.
> I am not able to add some kind of conditional PdfAction chaining on my
> submit button
> so that I can cancel the form submit and stay in the form if there is blank
> field.
Not necessary. See above.
> I went through whole of the book but couldn't find any possible solution.
> Is it possible at all to cancel the submit action after a javasicript
> validation action?
Yes. See above.
Constraints on number of pages for the book, imposed by the publisher,
prevented Bruno from including all of the material on iText that *could* have
been included in the book. IMO, if you had included the online documentation in
your quest, you would have found this information for yourself.
If you wish to use iText successfully, the book is a mandatory reference. I
hasten to add, though, that you should also include the book examples, the
tutorial and its examples, the Toolbox and its source code, the FAQs, the
documentation (online or offline), and the discussion list archives (this
list, as well as the Manning list), in your resource material.
Best regards,
Bill Segraves
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/