Solved

Unable to change the submit behaviour of an InfoPath form as a SharePoint Webpart

Posted on 2011-02-22
3
3,712 Views
Last Modified: 2013-11-05
Hello all,

I've got an InfoPath 2010 form that I've added as a webpart on a SharePoint 2010 page. It's all working fine however I'm unable to change the Submit Behaviour. As you can see in the attached screenshot the behviour is greyed out and I've not got an idea as to why. Really I need the form to open a new form on submit.

 Submit behaviour greyed out on InfoPath Webpart
Any pointers greatly apprectiated.
Dan
0
Comment
Question by:chrislewissecurity
  • 2
3 Comments
 
LVL 28

Expert Comment

by:clayfox
Comment Utility
My guess would be it is detecting the submit as an illegal type or you have not set a default submit.

In your form go into the Submit options and check. In 2010 they now have a box to select the default submit.

SharePoint needs to see this default and there may be some stipulations on what kinds of Submits a webpart will allow. I have not played with this yet.

I would assume submit to a library would be fine.

I think on a webpart you would want it to close and not leave the form open. This should be a reset of the form which i think is what you want, but again would need to play with it.
0
 

Author Comment

by:chrislewissecurity
Comment Utility
Hi Clayfox,

On my submit I'm using custom rules with the data connection as the last option. I may be being blind but I can't see a tick box for a default Submit option :S could you screenshot where I should see it?

Unfortunately on this particular webpart I need the form to open a new form after Submit.

Curiously, and adding a bit more detail, this option was available the first time I added the form to SharePoint but now it is greyed out as shown in the screenshot from my first post.

Thanks,
Dan
0
 
LVL 28

Accepted Solution

by:
clayfox earned 500 total points
Comment Utility
I am guessing it does not like your rules.

In SharePoint 2010 at the end of the submit data connection wizard I have been seeing a check box but maybe it is only for Filler forms.

There is also the Submit Options button in the ribbon. There you can configure the default.  I am guessign you should only have one submit.

I would make a test and create a new button with just the submit and see if you get the same issue, or a new simple form.  I am guessing something you added to the button has broken this.

If you use design checker does it show any warnings or errors?
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now