I have been creating a browser based IP form. Is it possible to
control the "save" button's functionality?
I am aware of submitting a document to the form library, but this we
can achieve when the user clicks "Submit" button on the form.
However, I would like this same behaviour but on the "Save" button's
click.
Is this possible?
Regards,
Paresh
You have a browser enabled IP form and you want to achieve submit
functionality in the Save buttons event. If I have understood your problem
correctly then I should say that you need to write custom code in the Save
buttons eventhandler. But unfortunately, Saving using custom code is not
supported in browser-enabled forms. If you go to Tools - Open and Save
behaviour, you can see that.
The best way solve your problem is to create a button in the form, define a
submit behaviour for the form and call the thisForm.submit() method in the
Button click eventhandler.
Cheers,
Dibs