Save button on web with javascript

I’ve a button on the web with should save the document and then open a new document.

I’ve this code

submit()

window.location=“bedankt?openform”;

But when I now press the button it will only open the new bedankt form, it will not save the document.

How can I solve this?

Rgds,

Rudy

Subject: Save button on web with javascript

try putting a ‘alert’ between submit and window.location…

Subject: Save button on web with javascript

hi

in javascript u can validate a form if u want to save a document it should be done in notes.

for eg.

create → hotspot - >button

dbname := @DbName;

@Command([FileSave]);

@Command([CloseWindow]);

@Command([Compose]; dbname; “form2”)

this code will work in client and web also