Link to home
Start Free TrialLog in
Avatar of paynestreet
paynestreet

asked on

Saving a file on Web

Since @COMMAND[COMPOSE... worked for going to a new form, I thought I would try the same thing with onSubmit using @COMMAND[FILESAVE].  I got an HTTP 500 error.
Avatar of brwwiggins
brwwiggins
Flag of United States of America image

i don't you can't put the @Command in the onSubmit event for the web. That will have to be javascript

If you create a button then you can put the @Command([Filesave]) followed by a @Command([openview];"view") or @command([Fileclosewindow])

Avatar of paynestreet
paynestreet

ASKER

I'm trying to avoid a second action.
ASKER CERTIFIED SOLUTION
Avatar of brwwiggins
brwwiggins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I give them a save button which does

 document.forms[0].submit