How can we create Dialog box form in web application

Hi,i am working on web application.one form is parent form,one button is on that parent form whenever click on that button another form(as a dialog box form) contain varoius fields is open.after filling all the fields in that dialogbox form value is transfer on the parent form.how it is possible on web application.

on client application i have used @DialogBox command but on web it is not working.

plz help me as soon as possible.

Thanx

AM

Subject: how can we create Dialog box form in web application

@Dialogbox doesnt work on web. Do it this way -

1] On parent form, on aclick of a button, use window.open(URL). This URL is the URL to open the form you are opening using dialog list.

2] After filling various fields, you cn tranfer these fields on parent window by writing following code

window.opener.document.forms[0].fieldname.value = document.forms[0].currentformField.value

window.opener → Parent window . So aboev code puts value from child window to parent window.

Hope it helps.