locked
Use a button to submit form and trigger a workflow RRS feed

  • Question

  • I've inherited some legacy 2007 SP stuff and I need to update a list/form which, at the moment requiures you to check a checkbox then click a submit button in order for the form to submit.  We now want to simply this so that the checkbox is not required...I think this was done to trigger the next workflow??

    Thought there must be an easier way to do this?

    TIA.

    S

    Thursday, June 14, 2012 4:36 PM

Answers

  • Sorry, bad grammar on my part, I meant "start."  Quick screenshot below.  It's a 2010, not 2007 screenshot but should show you what I mean.


    Steven Andrews | SharePoint Professional | http://www.twitter.com/backpackerd00d | https://baron72.wordpress.com/

    Monday, June 18, 2012 10:28 AM
    Answerer

All replies

  • check code here which triggers a workflow on "onclick" event

    http://social.technet.microsoft.com/Forums/en-US/sharepoint2010programming/thread/d9d0bb0a-e53c-4a44-9ab1-a15e191834f2/


    Warm Regards, Pratik Vyas | SharePoint Consultant | http://sharepointpratik.blogspot.com/ | Posting is provided "AS IS" with no warranties, and confers no rights

    Thursday, June 14, 2012 7:25 PM
  • Thanks for the reply but i cant see anything on that link about adding trigger to the onclick event? Am i missing something?

    Regards,

    S

    Friday, June 15, 2012 1:21 PM
  • How is the workflow compiled, is it Visual Studio code or something pulled together in Designer.  If it's code, Pratik's response is a good place to begin.  If you want to amend this within Designer, I typically start the workflow to fire when an item is submitted and have the opening action set to something like "Current List: Title is not empty"

    Steven Andrews | SharePoint Professional | http://www.twitter.com/backpackerd00d | https://baron72.wordpress.com/


    Monday, June 18, 2012 10:07 AM
    Answerer
  • Hey Steven, thanks for the reply...

    I'm working within designer (actually i'm restricted this for this project) but not sure what you mean by chance?

    Cheers,

    S

    Monday, June 18, 2012 10:18 AM
  • Sorry, bad grammar on my part, I meant "start."  Quick screenshot below.  It's a 2010, not 2007 screenshot but should show you what I mean.


    Steven Andrews | SharePoint Professional | http://www.twitter.com/backpackerd00d | https://baron72.wordpress.com/

    Monday, June 18, 2012 10:28 AM
    Answerer