Solved

Post form data for submission to mainframe

Posted on 2008-10-13
2
370 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Online collaboration is quickly becoming embedded in the workplace, and its benefits are tangible. See what the current landscape looks like and what the future holds for collaboration tools and the future of work.
In this third video of the Xpdf series, we discuss and demonstrate the PDFtoText utility, which converts PDF files into plain text files. Download and install the software.: You may have already downloaded and installed the Xpdf tools while watching…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…

706 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now