Tagged Questions
1
vote
0answers
11 views
How to create object of type SP.ListItemFormUpdateValue
How can i instantiate object of type SP.ListItemFormUpdateValue and initialize it to a List field so i can read the field values on client side?
If this is not posible, how can i read a value in a ...
1
vote
2answers
35 views
Prevent/override standard Modal Dialog close button(X) from closing
I want to validate custom modal dialog form and if its not ok, prevent form from closing.
For this purpose, I attached to X-close-dialog-button. Problem is to prevent it's default behavior.
function ...
2
votes
2answers
43 views
Get Modal Dialog Close button
I have override new item form for list, opening myPage.aspx where this javascript is in the "PlaceHolderAdditionalPageHead":
function fGetCloseBtn() {
var closeButton = ...
0
votes
0answers
34 views
JavaScript OnChange for PeoplePicker or something similar in a NewForm.aspx
i have a document library where i added a people picker column where i can assign a person from the company. Also i have a column where the user should enter the department of the selected person.
Is ...
2
votes
2answers
255 views
Disable a form text field with jquery in CEWP not working in Chrome/Firefox
I want to simply disable a text field (specifically a "person/group" field text box) from being editable on the edit form page of my list item. I have it working in IE using a Content Editor Web Part ...
0
votes
2answers
572 views
Conditional Show/Hide Field in NewForm.aspx with Javascript/Ajax
I want to show/hide a Field according to the selected value of a Choice field. How can i achieve this with javascript or AJAX?
Edit:
I tried this but, i cant even get the value of the selected value ...
1
vote
1answer
951 views
Show list form DispForm.aspx “in window” instead of as a dialog box
Does anyone know how to get a list form to display as an aspx page by default instead of as a popup iframe? For example, when a user clicks on a list item, DispForm.aspx opens as part of the same page ...
0
votes
1answer
995 views
How can I display checkbox or radio button choices in a Choice field vertically?
I have a list with SharePoint 2007 with a Choice column that I'd like the choices to be displayed vertically (every 2 or 3) instead of horizontally. Is there some JavaScript/jQuery I can utilize to ...
1
vote
0answers
194 views
Customizing richtextbox from formfield
This applies to SharePoint 2010.
I have a requirement where users can only use a very specific set of "styles" when creating their content for SharePoint lists. As the "styles" ribbon button does not ...
2
votes
4answers
1k views
How can I Make a Dropdown box in a Form Field Conditionally Read-only/locked?
I have a drop down box form field (with values level1,level2) in SharePoint list. How can I lock the drop down box selection in the edit form.aspx whenever the condition is level2?