Rules and Custom code for Submit Button - InfoPath Dev
in

InfoPath Dev

Rules and Custom code for Submit Button

Last post 09-30-2013 12:59 AM by sreuben. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 09-18-2013 11:53 PM

    • sreuben
    • Top 200 Contributor
      Male
    • Joined on 11-03-2008
    • Chennai
    • Posts 56

    Rules and Custom code for Submit Button

    Hi there,

    I have an existing Infopath 2010 form published in SharePoint 2010 Form library. I need to modify the custom code for Submit button in the form. The Button properties displays Rules and Custom Code. So i opened the submit event with code editor. But when I open the code editor there is no way i can see the code and the event is empty. Is there a way I can get to the code behind?

    Note: The current form submit button triggers a workflow as expected.

    Thanks.

  • 09-20-2013 11:24 PM In reply to

    Re: Rules and Custom code for Submit Button

     Are you sure that the 'code' is actually rules on the button?  Otherwise you should normally see the code if there is actually any available.

  • 09-22-2013 04:13 PM In reply to

    Re: Rules and Custom code for Submit Button

    If you go to File->Form Options->Programming and code is checked, you have code. Another way to verify is to go to File->Publish->Export Source Files and see if one of the files is a dll.

    Note: editing with a code editor will require access to the .NET project. You'll have to ask the author where they put it.

    Patrick Halstead
    Project Manager at Qdabra
  • 09-24-2013 11:55 PM In reply to

    • sreuben
    • Top 200 Contributor
      Male
    • Joined on 11-03-2008
    • Chennai
    • Posts 56

    Re: Rules and Custom code for Submit Button

    Hi Patrick,

     I did File->Publish->Export Source Files and do not find a DLL. All i find is Definition file, couple of XSD and XML files.

  • 09-30-2013 12:59 AM In reply to

    • sreuben
    • Top 200 Contributor
      Male
    • Joined on 11-03-2008
    • Chennai
    • Posts 56

    Re: Rules and Custom code for Submit Button

    Thanks i am now convinced there is no code behind after I did the export, and only rules are set. Thanks all for your help

Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.