Skip to main content
Nintex Community Menu Bar

Submit Button that also gives a value to the Approval field

  • August 20, 2007
  • 1 reply
  • 8 views

Forum|alt.badge.img+3

I was wondering if it is possible to have a submit button which goes to a web service in InfoPath 2003 but also sets my Approval field to either Approve or Decline. I don't want a submit button, I only want Approve and Decline buttons. I don't know how to get both the web service submission and the new value set at the same time. I know I want to have a rule, but there is no option to have a rule when you are submitting to a web service.


 Thanks.

1 reply

Forum|alt.badge.img+7
  • October 2, 2007

Excuse me, but it is unclear to me what form are you using as a user page - aspx page or infopath view?


if you're using aspx page you should just put 2 K2Buttons on the form, set both properties type to Submit, set DataField to a field that will store the value, and set DataValue with a value. In this case while pressing K2Button the datafield will be filled with a value and you may play with it in Line rules in your process. Futher, you may also call a webservice using Web service event.