-
Just so I think I understand you correctly, at the end of each successful rule place a "set the value of " the (newly added) field called "areRulesFired" to "RulesFired" text . Then the code would look for the "RulesFired" text in the "areRulesFired" ...
-
you can use code to loop over the repeating tables, section and based on the number of questions answered you can set a field to the %age completed field .
-
you might need an iisreset after this
the tag will be removed as soon as u the command is run
but the filling of background color might need iisreset
-
Not sure if you can download this either, but could you give the attached a try? All the logic it uses is in the default value of SectionPercentageComplete.
-
Hi bronham2,
Welcome to our forums!
In your form, can you try selecting Tools > Form Options > Versioning, then On version upgrade dropdown, choose "Automatically upgrade existing forms". When this option is selected, InfoPath won't prompt users to update existing forms. The update occurs automatically the next time they ...
-
i hope u r disabling the section using conditional formatting. in the conditional formatting add one more condition and check a field (say "is buttonclicked"). set the default value of the field to no. and on button click set the value to "yes". the conditional formatting will automatically fire and the sections will be enabled
-
hi Karen,
you can stop powered by infopath comming at the end of the form To remove powered by infopath tag on the infopath form run
stsadm -o setformsserviceproperty -pn AllowBranding -pv false
on the serverto enable run
stsadm -o setformsserviceproperty -pn AllowBranding -pv true
to determine if the logo is on or off
stsadm -o ...
-
i am not pretty sure what you, want it seems, when u load the form first time, the totals are not correct, when u edit the form the totals get corrected. if this is the problem then u need to calculate the value by adding rule at form opening.
-
if the rules are met, place some particular value (say "RulesFired") in a fied (say "areRulesFired"), and in the code check for the value. if the "areRulesFired" field does not have value "RulesFired" dont execute the code.
-
In the 2007 C# object model, this.Template.Manifest is a reference to an XPathNavigator for the manifest. You can use this like:
XPathNavigator name = this.Template.Manifest.SelectSingleNode("@name", NamespaceManager);
to get the name attribute. I believe ...