Child window Prob
In my site the registration process has two forms.
In the middle of the first form there is an option which opens
a new child window.In this i am using window.opener methos to
populate Parent form fields. After completion the user has to close
the child window and has to resume filling remaining fields of form one.
After sbmission of form I am checking for Id . If the Id already exists in database then am using window.history.back .
Here lies the problem. I loose all data in the ist form. But if the user doesnt open the child window then on history.back the data in the form remains intact.
What should be done to repopulate the form if the Id exists as the data entered in the child window is mandatory.
|