Modified document not saving with save button (web)

A new document is successfully saved after validation on the form and a ‘completion’ page is displayed. This code is working.@If (

FormErrors != “” ;

@Command ( [ViewRefreshFields] ) ;

@Do (

@Command ( [FileSave] ) ;

@URLOpen ( "/" + dbPath + "/completion?OpenForm&action=submit&requestno=" + RequestNo )

)

)

The form has a computed Subform with a Radio button (no/yes) and a SAVE button. After the radio button selection is changed on the previously saved form and the SAVE button is clicked, the ‘completion’ page is displayed but the no->yes change is not saved.

@Command ( [FileSave] ) ;

@URLOpen ( "/" + dbPath + "/completion?OpenForm&action=save&requestno=" + RequestNo )

There are no save options on the form.

Subject: modified document not saving with save button (web)

it may be a typo but shouldn’t you have an @return(“”) to close the @do properly?

Also check that "generate javascript … " option is set in database properties

Subject: RE: modified document not saving with save button (web)

My problems was I had removed the line of code for the path to the server. Thanks for your response. It made me look at my code very carefully.