Tag Info

New answers tagged

0

When a field is set to required, then Required Field text is added to the title of the field. So, do something like this: function PreSaveAction(){ if($('input[title="FieldName Required Field"]').val() == ''){ alert('Please enter some value'); return false; }else{ return true; } }


0

I don't believe there is a way to bulk upload the attachments, especially out of the box. But you can copy and paste the Excel data, if the columns match up perfectly. Then it is a matter of editing each list item (form) to attach the documents via drag/drop for that item.


1

What you should look for is Cascading filters sharepoint and infopath. Cascading filters is the most common term to describe what you want. This page explains it very well as well as the video http://www.nothingbutsharepoint.com/2012/05/25/sharepoint-how-to-create-multiple-cascade-drop-downs-using-infopath-2010-aspx/ ...


0

If you go into your list settings, there will be an option called Column Ordering listed under the columns of your list. If you click that, it will allow you to reorder the column layout of the forms.


0

SP behaviour is little bit strange. If you change value of some field, SP invoke validation, but no message is displayed. Problem is that SP has in file clientforms.js: this.NotifyControlEvent = function(eventName, fldName, eventArg) { ... case SPClientForms.FormManagerEvents.Event_OnControlValueChanged: UpdateAndValidateControlValue(fldName, ...


0

You can achieve this through custom code. First enable the Versioning for Form library. So the versions are captured in document library itself. Generally the infopath documents are stored as xml document in form library. So first read the current document as one xml document and the versioned(like 1,2 version etc..) document as another xml document. So ...


0

Yes it can be done using Infopath.You can use below expression which actually check the time difference (number(substring(../my:endTime, 1, 2)) * 3600 + number(substring(../my:endTime, 4, 2)) * 60 – (number(substring(., 1, 2)) * 3600 + number(substring(., 4, 2)) * 60)) div 3600 >= 0 Please look into following sites which have implemented it using this ...


0

I was having this issue as well. The form worked fine on my device in SharePoint but it was not loading the "updated" form on a co-workers device. Did CTRL+F5 on his keyboard and refreshed the library, opened the form, and bingo. New form. Thanks Ryan Erickson


0

There is a CheckInFile web service operation. If you are using the SPServices library, there is an operation for that (copied from the documentation): // Check in a single document, disable all of the column controls and give a visual cue that it is checked in function checkInDocument(obj, pageUrl) { var success = true; $().SPServices({ operation: ...


1

Mobile view does not use the same markup, you can test this in your desktop browser by adding Mobile=1 to the URL. A field will look like this: <div class="mb-list-detail-property-panel"> <div class="mb-list-property-name"> UnitId </div><div class="mb-list-property-value"> <input ...


1

If it's Safari on Iphone, then add classic way of getting elements & then hide them like document.getElementById("myDIV").style.display = "none";



Top 50 recent answers are included