Field values are not set properly on web

A strange situation here. There is a “SAVE” button on a web form (not xpage) with the following formula:

FIELD field1 := “”;

FIELD field2 := “”;

FIELD field3 := “”;

FIELD field4 := “”;

FIELD field5 := “”;

@Command([FileSave]);

@Command([FileCloseWindow])

The document is opened with ?EditDocument.

When the “SAVE” button is pressed, some of the fields get the “” value as specified, but others don’t and preserve their original values!!! This is not random.

Can someone please explain why is this happening? Didn’t have this problem in earlier version of Notes.