Dialogbox form in web application

Hi all,In my web application form,one button is there whenever click on that button another form(as a dialog box form) contain varoius fields is open.after filling all the value in that dialogbox form value is transfer on the parent form.this is possible on client application but i have no idea how it is possible on web application.

on client application i have used as following

@DialogBox( “(user)” ; [AutoHorzFit] : [AutoVertFit] : [NoNewFields] : [NoFieldUpdate] ; “Updating User Comments For R. No.” + @Text(r_reno) );

@PostedCommand([FileCloseWindow])

plz help me as soon as possible.

Thanx & Regards

sonal

Subject: dialogbox 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). In window.open, you can set different parameters to set height, width, scrollbar etc of the window.

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.

After transferring fields, child window can be closed using window.close(). Save parent document before closing it.

Hope it helps.

Subject: RE: dialogbox form in web application

hi,thanx for your answer. but problem is that the field in parent window is computed(in which value comes from the child document) and not stored any value in the parent document.

i used the following code to transfer value in parent field.

window.open(“http://localhost/IRequest.nsf/Requestv?OpenForm”).document.forms[0].r_ucomments.value = document.forms[0].comment.value

this above url is the parent window.

Thanx & Regards

sonal

Subject: RE: dialogbox form in web application

Well, then, you need to make it editable in the browser – which you can do by checking “Generate HTML for all fields” (other, less-exposing tricks have been posted here MANY times) and making sure that the formula will not overwrite your changes.

For future use – EXPLAIN your problem, don’t just say “it doesn’t work”.