-1
votes
1answer
62 views

Check if the user has attached any file

When I open(edit) some item in a list I want to check with JavaScript if the user has attached any file in my Edit Form...
-1
votes
3answers
152 views

Disable Text Entry Into Rich Text Area Using Javascript

I'm trying to make specific rich text areas within a list edit form 'read only' based upon the overall status of the list item. In order to do this I've tried to use the following: ...
0
votes
1answer
62 views

Javascript fails in chrome, works fine in IE

I have this JavaScript code for my SharePoint forms which does not work in other browsers but works in Internet Explorer. By using jQuery, when you initially open the task, the Rejected button will ...
0
votes
1answer
222 views

Show persistent status bar + form to update easily

I want to keep informed the end-users of my SharePoint site of any issue or relevant informations. Naturally, I would like to do so by filling HTML elements (input and select tags). Hence displaying a ...
7
votes
2answers
897 views

How do I trigger the default form validation without submitting the form

I'm customizing the NewForm of a list item and need to trigger the default form validation from my JavaScript, but I don't want the form to be submitted, since I'm doing that in a callback later on. ...
1
vote
1answer
174 views

PreSaveAction not returning True

I have a custom list form that processes information. There is a people picker on the form that can contain multiple users. When the user hits save, the js code parses through each user in the ...
0
votes
1answer
104 views

Javascript- Fill Out a Form

I am working on a fairly complex system right now, and the task I am currently stuck on is the creation of a document using JavaScript. I have a form library created with Infopath, and I would like ...
0
votes
1answer
253 views

Set value of choice field based on input from people picker

I have Choice Field which i use to filter items within a list. I'm trying to figure out a way to set value of this choice field within my edit form is there is a name in the people picker field. ...
0
votes
2answers
957 views

Javascript fails in chrome and firefox, works fine in IE

I have this JavaScript code for my SharePoint forms which does not work in other browsers but Internet Explorer. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" ...
0
votes
1answer
226 views

How to add the close button in SP.UI.Status

I use status bar to show exception message in code-behind. I wanna add a close button in the status bar for user, so they can remove the bar. Here is my code: protected virtual void ...
0
votes
1answer
258 views

Server side validation if Javascript disabled on user's browser

I have developed a small form with 3 input type = text and one input type = submit button. The end user fills the form and submit it, but no data inserted into backend List. (probably empty form is ...
2
votes
2answers
2k views

form validation

I am new in javascript. I want to validating a form with five columns. FormDescription My Form Contain 5 input fields and one submit buttom I want following output 1.Initially submit button ...
0
votes
1answer
222 views

CEWP with Calendar New Form : hidding selections, setting all day by default

So I came across a cool trick first in a book, then on a blog (here!), but it doesn't work for me. It's straightforward enough, couple lines of javascript/jquery, and a cewp in order to auto-select ...
2
votes
2answers
5k views

SP2010 Using Modal Dialog for Forms : Beginner Questions

So I am trying to figure out how to use some java script in order to use a modal dialog to display new item form. The below is what I have thus far, but its not working and I am not sure what portion ...
1
vote
3answers
1k views

__redirect not working after __commit on Form Action Button

This is in Sharepoint 2007 -- Designer I have written a Form Action button and it has the following Code: <input type="button" value="Add List Item" name="BtnSave" onlick="javascript: ...