-
Hi,
Add the two user roles Site administrator and user to the form. Add the conditional formatting to the two fields as if the user's current role is not equal to Site administrator then hide the field.
-
Hi,
Usually this error when the form is not connected to any of the data sources successfully. Once verify all the data connections are available or not?
-
Hi,
Once verify any data validation is added for those fields. And what is the error it is giving?
-
Hi,
To my knowledge, there is no way to force the rules fire after the code. If you want the rules to be executed after the code, then add the code to execute the same result as what the rules are doing. For example, if you are setting a field value in rule, add that in the code.
-
Hi,
Once check for the variable 'msoxd__getUserProfile__firstname' in script.js. What you are doing with that variable? Can you paste the code that you are using with that variable?
-
Hi,
Use the translate function to convert the letters to Capital.
1. Go to text box properties.
2. Click on fx button beside default value box.
3. Click on insert function. And select translate function.
4. Select the text box field as the first parameter, "abcdefghijklmnopqrstuvwxyz" as the second parameter and ...
-
Hi,
Once go through the below link.
http://www.infopathdev.com/forums/t/10170.aspx
-
Hi,
Add a hidden field to the data source.
Add an OnSwitchView event to the form and in the event write the following code.
if (thisXDocument.View.Name != "<Cancel view name>")
{
thisXDocument.DOM.selectSingleNode("<XPath of the hidden field>").text = ...
-
Hi,
You can customize the existing tools bar commands using Tools-> Customize. There you will find the no. of commands. You can add/delete the commands as you want.
-
Hi,
Add the default value to the text box using the following steps. So that when the user inserts/deletes the row from the repeating section, it automatically updates the value.
1. Go to the text box properties.
2. Click on fx button beside the Value box.
3. Select the Count function.
4. In that enter the xpath of the repeating ...