How can help me? - Problem: Document losing all values

Hello,

last week we switched from Version 5.0.11 to Version 6.5.3. Now I have a Problem with Documents in my Webapplications.

My Problem: I complete a new document in a Web-Application. When I forget to complete a mandatory field, I get a Messagebox “Pleace complete the mandatory fields …”. Then I press OK. Now the document losing all values, that I write so far. But the document should keep all values.

Probably its a problem with my Browser. I checked all option here, but I cant find something.

Has anybody an idea, who can solve this problem

or has anybody know-how to this problem?

Thanks for your help!

Greatings from Regina

Subject: How can help me? - Problem: Document losing all values

There is an option in the browser (IE6 anyway) that causes this. It’s in Tools/Internet Options… Then on the General tab, click Settings. Make sure that “Every visit to the page” is NOT selected.

Subject: Define “mandatory field”

There is no “manadory field” function for the web. You say you get a messagebox? How does that happen? It’s not from Notes, because no Notes-based interface functions work on the web. There must be some JavaScript somewhere that gives you the message.

My guess is that previous Domino version was either ignoring the invalid use of validation, or that your particular formula was causing the detection process to crash. I doubt that validation ever worked on the web because it would mean version 6 took a step backwards.

In Notes a field is made mandatory by creating an input validation formula. To have that formula do its job, you must use the @Failure(“message”). However, if you were to try this on the Web you would get a message from the server saying

Error 500

HTTP Web Server: Lotus Notes Exception - @Function is not valid in this context

The only bug I see here is that Notes will perform as you say when executing an @Failure() on an existing document.

On the web, validation is performed differently. You must first insure that all fields are correct before issuing a [FileSave] or submit(). The server is not going to do it for you. You can do within formula with the @IsValid function or in LotusScript using ComputeWithForm. You can also do it with JavaScript but that’s the hard way.