The problem that this gives me is that for each section I have Next and Back buttons. Pressing any of these now tries to close the window. I have a field value that is set each time the buttons are pressed and this is used to activate the hide formulas.
The value in this field 'Display' is set to "9" at the point when the Submit button is visible.
I am not familiar with Javascript, how would I write the equivalent of
@If(Display="9";Close Window;Null)
into the submit event.
Thanks.
Main Topics
Browse All Topics





by: Bill-HansonPosted on 2009-09-09 at 05:44:31ID: 25290539
The FileCloseWindow command is working as expected. It is not supposed to close a web browser window, only a Notes client window. To actually close the browser window, you need to use some simple JavaScript.
First, change your formula to @Command([FileSave]) alone.
Next, add the following line to your form's onSubmit event. Make sure you have the onSubmit event set to run on Web / JavaScript.
window.close();