Post form data for submission to mainframe

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.
kishore_1Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
HonorGodConnect With a Mentor Commented:
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
All Courses

From novice to tech pro — start learning today.