New answers tagged custom-form
Instead of adding code in Content Editor WebPart add in Script Editor WebPart. In Script Editor WebPart add following code. Create formaction.js file and add your js code in this file. Add script editor WebPart after your display form WebPart. Give reference of jQuery plugin Create formaction.js file give reference of that file after jQuery reference. ...
Sounds like the default for your List Settings is to open Forms as a Modal Dialog instead of a separate page. Open your List settings -> Advanced settings:
If you get the autoeventwireup is not allowed in this page error, try accessing the page when using a default masterpage that comes with SharePoint vs a customized masterpage. It has to do with the way SharePoint handles customized pages vs non-customized pages. Customized pages are presented using a no-code mode handler and therefore can't have server-...
This was resolved after restarting the SharePoint server overnight.
In your comment on the original question, You've indicated that you have experience working with Mark Rackley's method of manipulating forms using custom HTML and jQuery. If that is the case, you can achieve what you want by basically using that method. What you would need to do is, in the $(document).ready handler, make a client side call to SharePoint (...
You can achieve this using InfoPath forms. You can create data connection using Web service GetUserProfileByName and then query for department field. Using InfoPath and the Web service GetUserProfileByName Create sections and based on department you can hide sections.
For OOB solution, I'd create multiple New/Edit forms for the list (one for each department). Then ensure each department user uses the New/Edit form customized for them by, e.g., placing link to form in top navigation and using Audience targeting to only show link to department specific form link to users of that department.
As SharePoint does not support Column level permissions, there are some third party tools available for column level permissions: Column Level Security SharePoint Column/View Permission You have to create two separate groups for HR & IT and give appropriate access to columns of the list using above tools. Non-OOB solution: Create separate groups ...
As suggested by somebody else, you should be using meta data columns rather than updating the form name. Create a hidden status field that has relevant string - maybe "first submission", "submitted" (whatever makes sense for your business process) And then when the submit button is clicked check to see whether the form has been submitted using the Action ...
Does using the url below get you closer to what you want? yoursite/lists/yourlist/newform.aspx so that it opens as a page instead of a dialog?
Top 50 recent answers are included