Hello,
On my PDF form I have Javascript code for each Date field to format the
date value to mm/dd/yyyy.
If user enters date value in different format, such as May 2, 2012, the
Javascript code can correctly convert it to 05/02/2012 and display the new
format in the text field.
I then click the Submit button on the form to send the data to the server.
But the server sends back the date value in the original format and tells
me that it's not in the correct format.
I was wondering if anyone can show me how to view all of the fields values
that are sent to the server, either by using iText or PDF Javascript.
Thanks.
Here is the code I have to create a Submit button:
PdfFormField submitField = (new PushbuttonField(..., ..., ...)).getField();
String url = "xyz";
submitField.setUserName("submit form");
submitField.setAction(PdfAction.createSubmitForm(url, null,
PdfAction.SUBMIT_HTML_FORMAT));
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php