Document Open On Web

Dear All

I need to create the following in my web application

I have a form which have some field like name no age sex

now when the user submits the form i need to show him a new form containing the labels and values of the fileds in the same format as they are displayed earlier but in read mode

And also i need to allow them to add some other field like as address and details also i need to put some buttons like edit which will edit the document ,delete etc

Pl give ideas regarding this any suggestion is highly appreciated

thanx in advance

Sandy

Subject: Document Open On Web

So the form has two sections, and you want to lock first section when data for second section is being entered, right?

When user submit form after filling in first section, populate a field LockFirstPart = 1.

Use this field to control read-only/edit/hidden mode of all other fields. Javascript code for this is:

To hide a field:

document.forms[0].FieldName.style.display = “none”;

To make a field visible:

document.forms[0].FieldName.style.display = “block”;

To make field read-only:

document.forms[0].FieldName.disabled = true;

To make a field editable:

document.forms[0].FieldName.disabled = false;

You can also use Notes hide-when formulas. But this will cause your web page to go back to Domino server, and return with re-computed Formula.

Javascript/Style options mentioned above will work better in Web.

Regards

Litty Joseph