Hot answers tagged

4

Is it a list form or a form deployed in a forms library? If it's a form deployed to a forms library, check the data connection, maybe the author for the form missed checking that field and retrieving it in the data connection. You can also open the lists directly and check in which list/library the field exists, if it's in another library, you can query ...


3

The functionality you describe does not come with SharePoint out of the box, but it can be achieved with the free SPServices jQuery library created by SharePoint MVP Marc Anderson. You will need to to learn a little bit about jQuery, how to make the jQuery and SPServices libraries available to your page, but all of that is included in the sample code. The ...


3

Just wanted to share my findings on this issue. I have found that if you resize the Infopath Designer window so that it only covers a quarter of the desktop, the form will then open successfully! You can then maximise the Infopath Window & work on the form as normal. I have tried this on a couple of computers & it definitely allows the form to be ...


3

This can be done using Rules in Infopath. There is 3 different types of rule that you can use, Validation, Formatting and Action. They are accessible from the top ribbon tab "Home" and are found almost in the right corner. Add a formatting rule on the field you wanna hide and set the condition to be something like Yes/No Field is equal to True / False ...


3

Open Your site on SharePoint Designer ---> Click on List & Libraries Tab in Navigation Quick Launch ---> You will get your ListName and then click on your List ---> Now in the Right side below View section in the Forms section click on the new button on the right side the dialog box will open where you can design your New & Edit Forms. You can refer ...


2

I found this resolution for your issue provided in another thread - http://sharepoint.stackexchange.com/a/42362/35743 This link also provides an explanation for the issue and another resolution - https://community.office365.com/en-us/f/148/t/225167


2

Try string-length(field) - string-length(translate(field, " ", "")) < 10 which is inspired from KB Article Formula to count the number of occurrences of a single character in one cell If you are concerned about searching for a single character in a single cell, the formula is simplified to: =LEN()-LEN(SUBSTITUTE(,"a","")) Let me know if you ...


2

You will need to promote those columns by re-publishing the form. As you step through the wizard for publishing your infopath form a dialog appears where you can choose which columns you want to appear as promoted columns on the SharePoint list. You can see the steps here in this blog post: ...


2

Here is a very nice link explaining in detail regarding the requirement in questions. Following are main steps: 1) Add new receive data connection. 2) Select List from which you want to fetch data. 3) Select all additional fields you want to be displayed on form. 4) Insert a calculated column on form. 5)Click on Advanced View for this field. 6) Select ...


2

Well there are two types of infopath data. First type is non-promoted infopath fields. These are fields in your form that are NOT promoted to SharePoint. The data for these fields live ONLY in the XML file. The second type are promoted infopath fields. These are fields that are in the form that you HAVE decided to promote to SharePoint as columns. ...


2

Add Script Editor Web Part to the form with the following type of jQuery code. Note that you will need to get hold of the correct drop down, so the jQuery selector for the drop-down is just a sample: $("input[title='Computer Type']").on("change", function (e) { if ($(this).val() == "Laptop" || $(this).val() == "Desktop") { ...


2

Assuming is infopath, you can create a new rule in your "RAM" Field. Select the "RAM" Field Go to properties tab > Manage rules On manage rules window, click "New" > "Formating/Format" Check the checkbox, hide this control. Create a new condition for this rule, something like: if "device" field equals to "Desktop" Or >> if "device" field equals to ...


2

You can delete the content type via Powershell. Please create the XML file with required Content Types you want to delete and give input for the below powershell script. param( [string] $siteCollectionURL = $(Throw "-- You must specify the URL of a site collection as parameter 1."), #required parameter [string] $xmlFilePath = $(Throw "-- You must ...


1

The problem was in the event being undefined. IE and Chrome are okay with it, but FF doesn't like it. In the last line, the code should be function(event){Button.OnClick(this, event)


1

... It is when you think about how to write down your question, that you actually start finding a solution. Somehow it slipped my mind so far now. It's the easiest one there is: Just set the invisible field as default value for the dropdown field and untick the "update value" Checkbox. For some reason I thought the default value wouldn't Change according to ...


1

You could handle this with a collapsible section. You need a section, a toggle variable and two buttons. Add a section next or under your entry field and paste your text into this section control. Add a field (Add Field) and name it toggleVariable. Default value shall be 'off'. Now add two buttons (change their label to 3 and 6 in font Marlett to get the ...


1

Add a new receiving data connection with the list, e.g. ReceivingData. Set a default value for your control, which shall display the owner. As a default value you choose your owner column, but add a filter to it. The filter should be something like: Main->Folder is equal to ReceivingData->Folder. Then it only shows the items you are selecting in the ...


1

I'm thinking of alternative way, this solution will not remove the link but when the user tries again, he will be redirected to a view in InfoPath saying that he already submitted a form. What you can do is get the current user logged in when opening the InfoPath then create a Data connection to your library to query the Created By field. Now on form load, ...


1

Found the answer so am returning to post it here for others who may need it. http://daniecsp.blogspot.co.nz/2013/12/sp2010-error-when-trying-to-load-info.html My install is SharePoint 2013 so change OFFICE14 to 15 in the path to the dll. You also need to run the command from an elevated (run as administrator) command prompt for it to work.


1

First, create a lookup list. This list contains the dropdown values with corresponding email address. So when initiator selects A, the email address of A will be pulled from the list. Second, if you want the VIEW solution, you can create a dummy/hidden field where the value is 0 when the initiator is creating a new form. Now when Initiator submitted the ...


1

Edit your page, and add a InfoPath form web part. You can find it under the folder Forms when choosing from the webparts. Edit the webpart and choose the list where you created your original form. Select what view you wanna show and what the submit behavior should be and save the page.


1

You can disable default save button and create a new button on your custom form with save rule. Hope this can help you. 1-Use File-->Form Options to hide default save button and ribbon. 2-You can use infopath ribbon and rule manager to add button and rules. if you don't want to close form, use "submit data" only.


1

Have a status column on the list and change the column value based on the view. In the workflow check the value of this status column and perform the appropriate action.


1

I got solution for my question. Open the form in InfoPath designer. Click on the textbox to add a validation rule. Set the condition as Field does not match pattern. Select the custom pattern and enter ([A-Za-z0-9])* in the custom pattern text box. Reference Click Here


1

Oh well... Just a minute ago I stumbled into this: https://social.msdn.microsoft.com/Forums/en-US/abd2166b-a9ad-487e-bf83-8bb1d44ae7e5/error-infopath-cannot-open-the-selected-form-in-preview-mode-infopath-2007?forum=sharepointcustomizationlegacy Which had solved my issue. I'm posting what was issue, if link would broke someday. I found out that the URL ...


1

I was also having issue with IE11 and InfoPath forms. You can try following steps that helped me to resolved this issue. In your browser GoTO Tools >> Compatibility View Settings Here Add your website. Restart your browser Done (OR refer this article : http://imrazarajwani.blogspot.in/2013/12/error-object-doesnt-support-property-or.html)


1

I was able to resolve the issue by modifying my code to: concat(substring(StartDate[ID = Availability], 1, 4), "-", (concat(substring("00", 1, 2 - string-length(substring(StartDate[ID = Availability], 6, 2) - 1)), (substring(StartDate[ID = Availability], 6, 2)) - 1)), "-01T00:00:00")


1

In a content editor web part or on a wiki page you'd enter something like: <a href="http://teamsite/_layouts/FormServer.aspx?XsnLocation=http://teamsite/ContosoResourcePlanning/Forms/template.xsn&OpenIn=browser&SaveLocation=http://teamsite/ContosoResourcePlanning&Source=http://teamsite/ContosoResourcePlanning/Forms/AllItems.aspx" title="Click ...


1

Right click on each of the fields and on the top ribbon under "Properties" and "NAME" you can write what the field is. Note: You can only write "CandidateName" vs "Candidate Name" with a space. Now on the right side where you normally see your fields, it will display the name you entered and you will be aware of what each one is. ***** This same instance ...


1

So you can use Tabs for SharePoint forms. You will get similar view like following Very easy to use! It's just the use of Content Editor Web Part. <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> <script type="text/javascript" ...



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