Tag Info

Hot answers tagged

8

Try editing the SharePoint list settings in the browser. Open the list, go to List Settings, click the field name and select "No" for "Allow multiple selections". Edit after clarification that this is not a list form: The described behavior of the control leads me to believe that the form has initially been created with InfoPath 2007 and the people picker ...


8

Per that same article, Microsoft has indicated they will support InfoPath 2013 until 2023 and that they are working to provide migration guidance from InfoPath into whatever successor technology or technologies based on Office and/or SharePoint may take its place. If you have a 3-5 year time horizon, I wouldn't rule out InfoPath completely. It would seem ...


4

I've had a similar problem; SharePoint/InfoPath doesn’t seem to deal with multiple-selection list boxes very well (unless I'm also missing something). The workaround I used w/o code was to create a new hidden field with the default value set to: eval(eval(MultiSelectField[. != ""], 'concat(., ", ")'), "..") where MultiSelectField is your field Tick ...


4

I would recommend to take a look at Nintex Forms. It replaces InfoPath Forms Services to some extent, Nintex Forms is a web based designer that enables forms to be created within SharePoint. The following products are currently available: Nintex Forms Nintex Forms for Office 365 P.S. Disclosure, i do not work at Nintex company


3

One way for your to achieve this would be: Create a new SharePoint Group (or you can use one existent already) Make sure the original People/Person field in itself (when defined in the underlying list) is only allowing selection from that specific Group. Put target User into the group at step 1. Refresh your form to get the latest updates from the ...


3

In InfoPath Designer, open the form template and go to File > Form Options > Property Promotion. Remove the field and publish the form. Then add the field to the promoted properties and publish the form again. The view will show the column as empty, but the previously entered values still exist in the form. Just opening and closing the form will make the ...


3

You can use Query String parameters to send to InfoPath form and if you want no code solution, you can use Query String (URL) Filter Web Part.. Following blog shows how: How to Pass Querystring data into an InfoPath Form If you want to access them in code, you can access like: // URL: http://www.foo.com/bar.xsn?xyz=1 public void FormEvents_Loading(object ...


3

You mention that the form is stored in http://sharepoint/travel, but the error mentions the form residing in http://sharepoint/services. It could be that /travel and or /services are (in) different site collections using explicit managed paths. Get a listing of all Site Collections in that Web Application and see if this is the case.


3

I have never had success exporting the files and importing or adjusting the CSS so this is what I do. I make all the fields not required, eliminating the red dashed border and put an asterisk by the required fields. Then I create rules to disable a custom save/submit button until all the required fields are not blank.


2

By default, InfoPath will represent a choice field as a drop-down. To show it as a radio button form, you will need to manipulate it in InfoPath. Select the control on the canvas and then change the control to an option button The result looks like this: Copy and paste the one option button as many times as required. Now manually type the option ...


2

Create a rule on the "Add Days" text box that gets executed when the field is changed. Let the rule set the value of the DueDate field. Use the function addDays(Date,Days) Set the first parameter to the "Start Date" field and the second parameter to the "Add Days" field


2

Ran into this same problem myself. What I did was add a text field and populate that field (on submit) with the name that was selected from the people picker. Then I setup a rule to hide this field so it does not show on the original form. Then I tested it by having it submit the active view of the form using email (not as an attachment) and it was ...


2

we can hide/show controls in InfoPath form using "Section control". When you want to hide a table, add the table to the a section and add conditional formatting. How to hide and show controls on InfoPath pages


2

Using the double eval trick, you can create the following rule on your button to disable it until each people picker contains exactly 1 valid username: not(xdMath:Eval(xdMath:Eval(dfs:dataFields/my:SharePointListItem_RW/my:PeoplePickerColumn/pc:Person, 'concat(pc:AccountType, ";")'), "..") = "User;" and ...


2

In InfoPath : 1.Select the field for validation. 2.If the Rules task pane is not already showing, click Manage Rules on the Home tab. 3.In the Rules task pane, click New then select Validation to create a validation rule action. 4.Build a custom rule to validate the field For details use this link (look at Part 3 ─ "Adding Validation, Conditional ...


2

The problem is that every list in the template get a new ID when the list is created during the template provisioning. Therefor the filter and fields reference to non existing list. While the web parts reference the list via the url. The filter web part use hard coded ID's. The only way around this is to reconfigure or add a custom code that fix the ...


2

User form templates that contain code can be published by site collection administrations to form libraries as sandboxed solutions. For more information about sandboxed solutions, see Sandboxed solutions overview (SharePoint Server 2010). Form templates that require full trust or use a data connection that is managed by an administrator must be deployed by ...


2

If I understand this right, the reason the fields are not updating is because they are set as default values, which are only assigned once. What you want is a data connection to the other list that can pull the values you want, and then when a user opens the form it will have the updated values in it. Check out this article to see how to do it. Here is an ...


2

I don't think that message is configurable. The common approach is to have a standard button for the Submit, which uses rules to validate the fields and then unhides a section with an error message. The last step on that button is the save, but if any of the validation rules find errors, that last step will not be executed. Also see my answer here: Cannot ...


2

someone has come up with somthing of use! window.onunload = window.onbeforeunload = (function(){ var closedYet=false; return function(){ if (closedYet) return; closedYet=true; // do your thing here... } }()); the above should help, you then need to write to a tempary list... this list will have the user ID or name and all the ...


2

Create a list in SharePoint, edit it in Datasheet view mode, create the first item with number 1, then drag and drop the little square down (as you would do in Excel). This will quickly create all the numbers you need. Then, go to Infopath, add a datasource to retrieve data from the aforementioned list, and bind it to a listbox. Easy ;)


2

If you're new to SharePoint development, I can understand your struggling to understand its development model. Responding to UI events by "calling C# code" is possible only with custom webparts or application pages, as no inline-code is allowed in SharePoint Designer by default. You should really first try to determine if what you think will require C# code ...


1

My apologies, this should be a comment, but I'm new to StackExchange and can't find the button for comments... I can confirm that your .udcx file is correct - including the element. My .udcx file is identical, except for the server location - obviously. But RELATIVELY it is the same. I've used Itay Shakury's method in the past, and just to confirm, I just ...


1

High level steps for an InfoPath browser form: You don't need any fields in the main data source, but you need a secondary data source to the list, including all the fields you want to show in the form. You will need code to get a URL parameter into the InfoPath form. There is a plug-in for InfoPath from Qdabra Software called "qRules" that loads DLL's ...


1

Create another field in the list for the grade. In the InfoPath form, set the value of that field to "1" if answered correctly. Then create a view or a DVWP that aggregates the correct answers. If you want to show the total points in the IP form, you need to add a secondary data source to the same list, pull all the values for the current user and total ...


1

The easiest way would be to split the data into two lists and display them on two forms. One list to hold teams and another list to hold the members. The members list will need a Team field that is a lookup to the Team list. You have a form for creating Teams where they enter all the team info like Name, Color and Number. Then you have another form for ...


1

You might consider using something like InfoPath DB (http://infopathdb.codeplex.com/) which is a codeplex project that can be used to query the raw XML as a datasource as JT mentioned, though without you having to write the actual code. This would make it possible to get the data even if the fields/columns were not previously defined in the SharePoint ...


1

You could expose certain InfoPath fields as columns in the SharePoint form library. (These fields can be configured in the form publishing wizard.) Then you could view the libraries as spreadsheets. However, this would only work for forms that have been submitted after the field were exposed. To get data that has already been submitted, I think you will ...


1

This can only be done with code. You'd either need to write it yourself or use a tool called qRules from Qdabra Software. It's like an add-on for InfoPath that provides functionality that is not available out of the box. It's not free, but it costs less than a day's developer time.


1

I deleted read-only columns in Form library using client object model as, ClientContext context = new ClientContext(sharePointSiteURL);Site oSite = context.Site;Site oSite = context.Site;context.Load(oSite);Web web = context.Web;List doclist = web.Lists.GetByTitle("LibraryName");context.Load(doclist);context.ExecuteQuery();FieldCollection fieldCollection = ...



Only top voted, non community-wiki answers of a minimum length are eligible