How to edit few fields in a list in Sharepoint 2010 - list

I have created a site definition using list and I am trying to edit few list fields in sharepoint 2010. I am able to edit all the fields present in the list using EditForm.aspx. I am opening this form in a popup. Now the problem is that I don't want to edit all the fields. I want only few fields to be edited.
Please let me know how can I achieve this.

Open the editform.aspx using script webpart, then disable the form field by using the javascript. It sounds easy...

Related

Sharepoint designer doesn't show all fields of current item in workflow

When creating a workflow using Sharepoint Designer (linked to a form library) none of my fields from my form show up when I use actions like "set field in current item" or "update list item". The only two fields that show are
"Title"
"Name (for use in forms)"
I have already tried to upload the form as a site content type but was still not able to get the items on my form (using the solution posted here https://social.msdn.microsoft.com/Forums/lync/en-US/37db5742-79ba-49cb-bda5-69172786a339/spd-field-lookup-problem-set-field-in-current-item?forum=sharepointcustomizationlegacy)
please help me ,this problem is hurting my brain :'(
actually doing the thing mentioned here fixed my problem
https://social.msdn.microsoft.com/Forums/lync/en-US/37db5742-79ba-49cb-bda5-69172786a339/spd-field-lookup-problem-set-field-in-current-item?forum=sharepointcustomizationlegacy
at first it seemed like it was not working but I just had to refresh the page -very intelligent mistake :'(
Anyways I'm happy that the problem was solved
This is something which is related to the Refresh a page. Or What you can do is close the site in the Sharepoint designer and then re connect the site. Sometimes refreshing the page does not seem to work.

SharePoint 2013: Using StratusForms I deleted "NewForm.aspx", now only the new "NewForm" will not work

Tools: SharePoint 2013, SharePoint 2013 Designer, StratusForms
What I was doing: StratusForms - Modify SharePoint's Default Forms with HTML Templates (https://www.youtube.com/watch?v=oai-m_KyzMc)
Status: DispForm and EditForm currently work, NewForm did work until the incident.
Incident: I deleted the main webpart on NewForm and the form was hosed, so I deleted NewForm.aspx. I recreated the NewForm.aspx and also added it to forms library (https://sharepoint.stackexchange.com/questions/108467/accidentally-deleted-default-editform-aspx). Like before when it worked, I added a Content Editor webpart and pointed it to my StratusForms template, but it did not work . The controls/boxes did not show up. It worked before on the old NewForm, and it currently works on DispForm & EditForm.
Question: Given the above information does anyone know why, or better yet have a solution, to get NewForm.aspx working with StratusForms again?
Thank You!
So the underlying issue was SharePoints internal linkage of it's 3 forms (DispForm, EditForm, NewForm) to the data sources.
So those out-of-the-box forms are not like the ones we create. Even though you create a new "NewForm" and it may look like the old default NewForm, but it is not. There is metadata like Microsoft.SharePoint.PAGETYPE, which tells if it is a custom form or new, display, or edit form.
The resolution was found in this article (http://www.sharepointblogs.be/blogs/vandest/archive/2011/03/11/troubleshooting-issues-with-dispform-editform-and-newform.aspx).
In case the link breaks I have also included the manual method here:
Manually
It's easiest if you take a corresponding form from another SharePoint List in the site and export it (SharePoint Designer) or just copy it to a text editor. This way, most of the settings of the List Form Web Part are already correct
Generate a new GUID and fill that in for the __WebPartId [uppercase & just change a few chars/numbers] and properties [lowercase, same as WebPartID & has a g_ prefix] of the List Form Web Part markup. It has to be the same GUID but the formatting is different. See the above screens for samples
Update the property with the List ID you're targeting
Verify all other properties of the List Form Web Part and save the file as either DispForm.aspx, EditForm.aspx or NewForm.aspx
Import (SharePoint Designer) the page (or paste contents from the text editor)

InfoPath - not bind one field in a form to sharepoint list

I have a InfoPath form that binds to a list in a SharePoint site. Because of privacy reason, I want to make sure there are few fields in a form that just used to input data (for flow control) and not stored in SharePoint list when form is stored. Is it feasible to do it? One option is to clear those fields on submit but I was wondering if its possible to not bind those fields to a list. Right now I don't see any option to do it. Any help will be highly appreciated.
Thanks!
Forget workarounds like "clearing fields on submit". You never know when they will stab you in the back.
You should be able to easily map the fields and bind/unbind as needed following the info here : InfoPath Fields Mapping - StackExchange

Add Related list to customized Edit Form in Sharepoomt 2013

So I am trying to update a site from 2010 to 2013. The site has a list called vendors and a library called Invoices. Invoices have a lookup column on vendors. The Invoice edit page was customized in SPD 2010 in two ways:
The ListFormWebPart was hidden and a custom DataFormWebPart was added to let the user edit the metadata of the invoice.
A related List View was added so that users could see a list of invoices for the vendor being edited.
After upgrading the site to SharePoint 2013, the fields on the DataFormWebPart do not get rendered. If I remove the hidden ListFormWebPart, then The DataFormWebPart display its fields ok, but the related list shows nothing (the related list must get filtered using the ListFormWebPart).
I tried to recreate the scenario in a new SPWeb from scratch in 2013 and got the same results (I could not have a customized DataFormWebPart AND a related list view on an edit form.)
Is there any way to get this to work in 2013 as it did in 2010?
I’m thinking I could replace my related list with some JavaScript to pull the Invoice info and display it, but I am hoping there is an easier workaround.

How customize fields in the Django admin interface

I have a model in my Django project with a member which is a char field. Basically data in this field will be entered as comma-separated values.
Without a long-winded explanation of what the overall goal of this is, basically rather than having the admin interface use a simple text field, I'd rather have have some custom HTML for the form so I can just use checkboxes and assemble the values of the checked boxes into a CSV string myself once the form is submitted.
Most of the django customization I was able to find on Google didn't answer my particular problem.
If I understand your question correctly I think you want to search for writing custom widgets. Perhaps start here: http://docs.djangoproject.com/en/dev/topics/forms/