Infopath 2010: button action rules deletes automatically upon saving or using rule inspector

Hi,

I have been working on Infopath 2010 for a few months and I have developed a form with some controls, views and buttons. In my form I have 4 buttons 'Save as draft' , 'Submit' 'Reset' and 'Cancel'. I am using all the buttons with action type as 'Rules and Code'. Except for Reset button, the actions & formatting on three buttons is rules only.

The problem is when I save this form or I run Rule Inspector on form, I see that all the action rules from these buttons disappear. I do not see any error in Rule inspector because the action rules attached to these button disappear before Rule inspector even starts. same is the case with Save.

To test if its a problem with a rule, I had built another form with the same fields and actions/formatting for this form. But that form seems to work without any problem and none of the rules get deleted. The reason I want to stick to my old form template is because I am using this form in LIVE and changing a form template will mean changing all GUIDs in the forms that have been on LIVE and in workflow already.

Can somebody help me find a way to solve this problem. 

Regards

P


March 13th, 2012 12:45pm

Hi PoojaGandhi,

Strange problem.

Validation, Calculated default values, actions and programming can display in Rule Inspector, and formatting rules will not display here, so it is normal that we can't see rules in Rule Inspector if we created some formatting rules.

If you have also action rules in the form, can you see these actions in Manage rules pane or will these rules work even we can't see it? How about add rules to a new button (in a new view), will it missing?

If the problem persists, the form may corrupt. And please create a new form instead.

Sorry for the inconvenience.

Best regards,
Emir


Free Windows Admin Tool Kit Click here and download it now
March 14th, 2012 1:10pm

Hi Emir,

Thanks for the response.

Yes I understand that I will not be able to see formatting rules in Rule Inspector. My problem is only with Action rules. They seem to disappear from these buttons when I turn on the Rule Inspector or I Save the form. I have created these buttons in other views and they seem fine and rules do not disappear. 

I have tried adding new buttons to this view of the form and same behaviour is seen. Is there a way I can trace the reason why this problem is happening? 

Please help.

Regards

P

March 14th, 2012 3:13pm

Hi PoojaGandhi,

There is no such a tool can be used to monit such error for InfoPath. Could you please copy the controls and buttons to the new view, delete the problem view and use the new one instead?

Best regards,
Emir

Free Windows Admin Tool Kit Click here and download it now
March 15th, 2012 3:11pm

Hi,

I am also working on InfoPath forms and the same problem happening in my form as well. Do you have any solution found for the above issue (Disappearing the action rule on the button control)? 

Thanks,

Sasi

March 11th, 2014 7:05pm

Hi Sasi,

As Emir suggested, i created a new view of the same form and added new buttons their with the rules i wanted. This works fine for me. Changed this new view as default since my other view was a default one.

Regards

P

Free Windows Admin Tool Kit Click here and download it now
March 18th, 2014 7:13am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics