submit button

V

vass81

i am trying to use the submit button for users to save the form to a
sharepoint form library but cant seem to get it to work. at present they
must save the form manually to the sharepoint library by going through the
file menu. is there any way they can simply hit submit and it automatically
sends it to sharepoint?
 
S

Scott L. Heim [MSFT]

Hi,

Have you added a "Submit" secondary data connection to your solution? If
not, you will need to add this connection to your form. Now if this is the
only place you will be submitting your form/data, the default "Submit"
button will work. However, a typical scenario is one where your form was
built from a "data connection" (i.e. SQL Server, Access, Web Service) and
you want to submit the "data" to the data connection and still submit the
"form" (with the data for that form) to Sharepoint. In this case, you would
need to add a button to your form and then add a "Rule" (right-click on the
button, choose Properties then click the Rules button) that would have 2
Actions: both would be "Submit using a data connection" where the only
difference is the data connection being used. One would be for the "data"
(SQL, Access, etc.) and the other would be to your Sharepoint library.

I hope this makes sense - if not, let m know!

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
 
V

vass81

hi ,
still having a bit of trouble.......i only need to submit the form to a
sharepoint form library - no rule option appears after after right clicking
on the button.... i get the option of setting action parameters and then
button properties. do i need to go into the custom script or is sharepoint
counted as a web service?
 
S

Scott L. Heim [MSFT]

Did you add the "Submit" data connection I mentioned?

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top