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.