I’m having a simple problem with an $$Return field on the web. I’m sure the fix is simple and I’m totally looking over it.
All I have is a Submit button that uses Javascript and simply clicks on a hidden button with: document.forms[0].SubmitButton.click();
The SubmitButton has the following formula code:
@Command([FileSave]);
@PostedCommand([FileCloseWindow])
And I have a $$Return field with the following URL:
“[http://www1/IntBusforms.nsf]”
I’ve tried many different scenarios, copied buttons where this simple functionality actually works. However, on this form, it doesn’t go to the URL the $$Return field states. I get a “Website Cannot be Displayed” page after submission.
Javascript seems to be working fine. I even put an alert button after the click button code and it goes through. No run-time errors pop up.
What am I missing here?