Solved

Post form data for submission to mainframe

Posted on 2008-10-13
2
373 Views
Last Modified: 2013-12-11
I have a PDF form developed using LiveCycle designer which will be hosted on our company website. Any body can access this form by going to our website. However, to submit the filled out form to our Mainframe database, one needs to be a registered user.
If user is not registered, they will have to fill out the form, print it and fax it.

The 'Submit' button will only be enabled once the user enters userid and password on the form, since we want only registered users to submit. The print button will always be enabled.

Once the users fill out the form, they will enter their user id and password and then click on Submit. The user id and password will be verified against our LDAP and if valid, the form data (either in xml or delimited text) should be ftp'ed to some location on the server from where our Mainframe system will load it to the database.  If the ftp was successful, a confirmation should appear to say that the form was submitted. (this confirmation can either be a html page or a dialog box with in the form)

If the user id and password is invalid the data should be discarded and a modal dialog box should be displayed that the credentials are invalid and allow user to re-enter the credentials and resubmit the form.

We will be using java and websphere application server.

Appreciate any help on how to implement this.
0
Comment
Question by:kishore_1
2 Comments
 
LVL 41

Accepted Solution

by:
HonorGod earned 500 total points
ID: 22959296
Sounds like a perfect situation for a small JavaScript form validation script.
The JavaScript can monitor events (e.g., when a field loses focus), and
ensure that the information is valid & appropriate.  Once the userid & password
have been filled in, the Submit button can be enabled, and a connection can be
made to the back end to validate/verify the user identity...  and determine what
to do should the identity not be correct.

I would suggest though, that an invalid userid/password shouldn't force all
fields to be blank.  Have you ever entered your userid & password incorrectly?
Consider the frustration that would cause the users if they make a mistake
like that.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In a previous article published here at Experts Exchange, Signature Image with Transparent Background (http://www.experts-exchange.com/Web_Development/Document_Imaging/A_12380-Signature-Image-with-Transparent-Background.html), I explained how to cre…
Inserting page numbers in Portable Document Files not only enhances manageability but also makes them look professional. With numbered pages, the file appears more organized and it becomes easier to search for a particular page. The size and the vol…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question