Restrict Which Users Can Enter Data In List Form in SharePoint Foundation 2013

Is there a way to restrict which users can enter data in particular fields in a list item entry form?
We are using a SharePoint Foundation 2013 list and calendar to manage vacation time. We need to restrict non-supervisor users users from entering a value in a certain field in the vacation request form.
Here is how the system works now:
1. Employees complete the vacation request form (which creates a list item)
2. An email is sent to their supervisor to either approve or decline the request
3. Approved requests are automatically entered onto the vacation calendar
We have restricted the list so that only supervisors can edit items (the pending vacation requests). The problem is that all users can mark their own requests as approved when they fill out the request form in the first place. Is there a way to restrict
which users can enter data in particular fields on a list item entry form?

Thanks for the suggestion. We ended up 1) hiding the approval column and 2) creating a second list, workflow, etc. The user no longer sees the approval column when filling out the form. Requests are now submitted to list A. Workflow #1 copies the request
to List B, then deletes the item from List A. Once the request is added to List B, Workflow #2 emails the user that the request has been received and emails the supervisor that a request needs to be approved. Only supervisors have editing permissions on List
B. Approved requests are automatically added to the vacation calendar (the calendar view of List B).
We found the following site to be helpful in learning how to hide the list column:
http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2013/06/03/how-to-hide-a-sharepoint-list-column-from-a-list-form.aspx

Similar Messages

  • Filed in the ALV report in which user can enter text manually

    Hi,
    Is it possible to enter a field in the report where user can enter data manually and save it in a ALV report?
    If yes then let

    Hi, SATYA
    Test the following Sample Report it hope it will solve out your Problems related to ALV.
    REPORT  zfsl_alv_test.
    TYPES: BEGIN OF t_it,
      mname(10),
      amount1 TYPE p,
      amount2 TYPE p,
    END OF t_it.
    *TABLES : it1_sum.
    TYPE-POOLS : slis.
    *VARIABLES
    DATA : check(1),
           rep_id TYPE sy-repid.
    *INTERNAL TABLE TYPE OF t_name
    DATA: it1_sum TYPE STANDARD TABLE OF t_it WITH HEADER LINE,
          wa_it1_sum TYPE t_it,
          it2_sum TYPE STANDARD TABLE OF t_it WITH HEADER LINE,
          wa_it2_sum TYPE t_it.
    *List Header
    DATA : it_listheader TYPE STANDARD TABLE OF slis_listheader WITH HEADER LINE,
           wa_listheader TYPE slis_listheader.
    *Event Raising to Display Heading.
    DATA: event TYPE slis_t_event,
          event_str TYPE slis_alv_event.        "Event String.
    *FIELD CATALOG
    DATA : it_field TYPE slis_t_fieldcat_alv,
           wa_field TYPE slis_fieldcat_alv.
    *SORTING
    DATA : it_sort TYPE slis_t_sortinfo_alv,
           wa_sort TYPE slis_sortinfo_alv.
    *Layout
    DATA : wa_layout TYPE slis_layout_alv.
    INITIALIZATION.
      check = 'X'.
      rep_id = sy-repid.
    START-OF-SELECTION.
      wa_it1_sum-mname = 'BBB'.
      wa_it1_sum-amount1 = '-500'.
      wa_it1_sum-amount2 = '-200'.
      APPEND wa_it1_sum  TO it1_sum.
      wa_it1_sum-mname = 'BBB'.
      wa_it1_sum-amount1 = 100.
      wa_it1_sum-amount2 = 200.
      APPEND wa_it1_sum  TO it1_sum.
      wa_it1_sum-mname = 'CCC'.
      wa_it1_sum-amount1 = 500.
      wa_it1_sum-amount2 = 10000.
      APPEND wa_it1_sum  TO it1_sum.
      wa_it1_sum-mname = 'CCC'.
      wa_it1_sum-amount1 = 105000.
      wa_it1_sum-amount2 = 20500.
      APPEND wa_it1_sum  TO it1_sum.
      wa_it1_sum-mname = 'AAA'.
      wa_it1_sum-amount1 = 21000.
      wa_it1_sum-amount2 = 22000.
      APPEND wa_it1_sum  TO it1_sum.
      wa_it1_sum-mname = 'BBB'.
      wa_it1_sum-amount1 = 5500.
      wa_it1_sum-amount2 = 2200.
      APPEND wa_it1_sum  TO it1_sum.
    *          Heading
      wa_listheader-typ = 'H'.
      wa_listheader-info = 'ALV TEST Top-of-Page'.
      APPEND wa_listheader TO it_listheader.
    *          FIELD CATALOG
      wa_field-col_pos = 1 .
      wa_field-tabname = 'IT1_SUM'.
      wa_field-fieldname = 'MNAME'.
      wa_field-seltext_m = 'Material Number'.
    *ls_fcat-do_sum = 'X'.
      APPEND wa_field TO it_field.
      CLEAR wa_field.
      wa_field-col_pos = 2 .
      wa_field-tabname = 'IT1_SUM'.
      wa_field-fieldname = 'AMOUNT1'.
      wa_field-seltext_m = 'Amount 1'.
      wa_field-do_sum = check.
      wa_field-edit = 'X'. " To add this you can edit any Colum
      wa_field-edit_mask = 'V___________'.  " Use this to place the (-) Minus Signe on the left side
    *ls_fcat-do_sum = 'X'.
      APPEND wa_field TO it_field.
      CLEAR wa_field.
      wa_field-col_pos = 3 .
      wa_field-tabname = 'IT1_SUM'.
      wa_field-fieldname = 'AMOUNT1'.
      wa_field-seltext_m = 'Amount 2'.
      wa_field-do_sum = check.
      wa_field-edit_mask = 'V___________'.
    *ls_fcat-do_sum = 'X'.
      APPEND wa_field TO it_field.
      CLEAR wa_field.
    *          SORT By MNAME
      wa_sort-spos = 1.
      wa_sort-fieldname = 'MNAME'.
      wa_sort-tabname = 'IT1_SUM'.
      wa_sort-up = check. " Here Use u2018downu2019 for descending Order
      wa_sort-subtot = check.
      APPEND wa_sort TO it_sort.
      CLEAR wa_sort.
    *          ALV Layout Setting
      wa_layout-zebra = 'X'.
      wa_layout-colwidth_optimize = 'X'.
    *          Calling function to raise event to display heading and icon above ALV
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
         i_list_type           = 0
       IMPORTING
         et_events             = event[]
    * EXCEPTIONS
    *   LIST_TYPE_WRONG       = 1
    *   OTHERS                = 2
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *          Calling TOP_OF_PAGE Event
      READ TABLE event WITH KEY name = 'TOP_OF_PAGE' INTO event_str.
      IF sy-subrc = 0.
        MOVE: 'TOP_OF_PAGE' TO event_str-form.
        APPEND event_str TO event.
      ENDIF.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
    *   I_INTERFACE_CHECK                 = ' '
    *   I_BYPASSING_BUFFER                = ' '
    *   I_BUFFER_ACTIVE                   = ' '
         i_callback_program                = sy-cprog
    *   I_CALLBACK_PF_STATUS_SET          = ' '
    *   I_CALLBACK_USER_COMMAND           = ' '
    *   I_CALLBACK_TOP_OF_PAGE            = ' '
    *   I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
    *   I_CALLBACK_HTML_END_OF_LIST       = ' '
    *   I_STRUCTURE_NAME                  =
    *   I_BACKGROUND_ID                   = ' '
         i_grid_title                      = 'ALV Test'
    *   I_GRID_SETTINGS                   =
         is_layout                         = wa_layout
         it_fieldcat                       = it_field
    *   IT_EXCLUDING                      =
    *   IT_SPECIAL_GROUPS                 =
         it_sort                           = it_sort
    *   IT_FILTER                         =
    *   IS_SEL_HIDE                       =
         i_default                         = 'X'
         i_save                            = 'X'
    *   IS_VARIANT                        =
         it_events                         = event[]
    *   IT_EVENT_EXIT                     =
    *   IS_PRINT                          =
    *   IS_REPREP_ID                      =
    *   I_SCREEN_START_COLUMN             = 0
    *   I_SCREEN_START_LINE               = 0
    *   I_SCREEN_END_COLUMN               = 0
    *   I_SCREEN_END_LINE                 = 0
    *   I_HTML_HEIGHT_TOP                 = 0
    *   I_HTML_HEIGHT_END                 = 0
    *   IT_ALV_GRAPHICS                   =
    *   IT_HYPERLINK                      =
    *   IT_ADD_FIELDCAT                   =
    *   IT_EXCEPT_QINFO                   =
    *   IR_SALV_FULLSCREEN_ADAPTER        =
    * IMPORTING
    *   E_EXIT_CAUSED_BY_CALLER           =
    *   ES_EXIT_CAUSED_BY_USER            =
        TABLES
          t_outtab                          = it1_sum
    * EXCEPTIONS
    *   PROGRAM_ERROR                     = 1
    *   OTHERS                            = 2
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *&      Form  top_of_page
    *       text
    FORM top_of_page.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary       = it_listheader[]
          i_logo                   = 'ENJOYSAP_LOGO'
    *   I_END_OF_LIST_GRID       =
    *   I_ALV_FORM               =
    ENDFORM.           "top_of_page
    Kind Regards,
    Faisal

  • How to add .js link in custom list form through sharepoint designer 2013

    hi friends
    so far i was adding jquery code to script editor webpart in custom list form.
    but i need to know how to add .js link in custom list form through sharepoint designer 2013
    please help me.

    Hi,
    We can add the "JS Link Property" in the “WebPart” node in the custom list form page through SharePoint designer 2013.
    Here is an example for your reference:
    <JSLink xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">~site/Style Library/js/custom.js</JSLink>
    Noticed that, we should not lose the 'xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm' attribute.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Two fields, two scripts. User can enter data into field 1 or 2

    Hi all,
    New here, and to acrobat forms, so please bear with me!
    What I'm trying to achieve is a form that calculates total invoice value, based on a total number of hours worked, and a rate. The user fills in the total hours, but then the problem is that some people know their fixed rate, and others have a changing rate. Those with a changing rate simply know the amount they are invoicing for. What I'd like, is a way for the TotalInvoice value to be calculated by Rate*TotalHours when the user enters a value into the Rate field... OR ... for Rate to be calculated by TotalInvoice/TotalHours when the user enters a value into the TotalInvoice field.
    I can make it go one way or the other (so the script is only in TotalInvoice field or the Rate field), but I can't manage to get it to go both ways. Is this possible?
    To summarise: User can enter manually into Field1 and value of Field2 is calculated, or user can enter manually into Field2 and Field1 is calculated.
    Thanks!

    What you propose can be difficult, becuase you're describing a circular reference between the two fields. When the 1st value changes, you want the 2nd value to be calculated based on the 1st value. But when the 2nd value changes, you want the 1st value to be calculated based on the 2nd, ad infinitum. There are ways to short-circuit the loop, but it depends on whether you need to do the calculation only when there is manual entry, or whether you need it to work when either field value changes programmatically or by importing form data.
    Sometimes it's just easier to have the user press a button to calculate and set the other field value.

  • Is there any way to create fields reports users can enter data into?

    I am using Crystal XI to develop reports for my company and have not received any formal training on it.  I'm learning it fairly well through the help files. 
    One of the reports I need to create summarizes our scrap, rework, and additional incurred expenses for our monthly quality reports.  Most of the information is stored in the main program used by all employees, a very small amount of it is not.  I have created sub-reports for each of the different types of costs that are tracked in the system.
    Is there any way to create an area on the report that our QA people can use to enter the items not tracked in the main system?  I am imagining that it would be through another sub-report of some kind, but do not know how to create the fields needed. 
    Thank you very much for any assistance you can provide, even if it is to tell me "You can't do that, ma'am..."  At least then I would know and wouldn't beat my head against the desk trying to figure out how to do it.

    Is defining parameter prompts in the Crystal Report and displaying it in the report a possible workaround? 
    If you define parameter prompts, then Crystal will query the user before running the report - so this would be problematic if the user needs to reference data in the report to enter appropriate values (one possibility then is to use interactive parameters feature available in CR 2008).
    Sincerely,
    Ted Ueda

  • Is it possible for users to enter data on PDF forms?

    I would like to use Crystal Reports to generate a PDF form with data from database; I am experienced with that.
    Here's the question -- Many of the fields will be populated from my database, but I would like to leave some fields blank for the user to edit manually. (I do not expect these edits to update the database.) Is there a field or object I can insert to allow for these manual edits?
    I have seen this feature at my own benefits website. I can click on the PDF and enter some values in blank fields. It gives me a warning that the changes will only be shown when I print, not when I save.
    I have been unable to create this feature using Visual Studio 2005. Do I have to upgrade to 2008? Or do I have to upgrade my Crystal Report package in Visual Studio? Or is this feature not possible in Visual Studio?
    Any thoughts are most welcome.
    Edited by: John  Miedema on Sep 3, 2008 9:07 PM

    There are 3rd-party tools (see comprehensive list at http://www.kenhamady.com/bookmarks.html) that provide extra pdf functionality on top of the pdf export from Crystal. 
    In the case of my Visual CUT software, you can use hidden formulas inside your Crystal report to generate form fields (pre-populated as well as empty) as part of the pdf export process.
    hth,
    ido

  • Restricting what users can send mail to off-site destinations

    How can i restrict what users can and can not send mail outside mi local domain ?? Without editing postfix ??
    Tx

    Without editing postfix? pretty much impossible.
    Anything you do is going to change posftix's confguration, and you're asking for options beyond Apple's Server Admin GUI, therefore you going to have to do some under-the-hood tweaking of postfix.
    (just to be pedantic, using Server Admin ultimately edits postfix's configuration files, so what's your reluctance here?)
    As for your request, there are so many ways of implementing this. The 'right' option depends on more details than you've specified. For example, how are you determining which users can/cannot send outside mail? Is it a fairly static list, or does it change frequently?
    The only option that comes close to not editing postfix is authentication. By default, only authenticated users can send outgoing mail, but anyone can send mail to a local address on the server, so that gives you a simple approach - have the permitted users configure their mail client with a username and password for SMTP, and have the non-permitted users leave the SMTP username/password empty.
    That's hardly foolproof, though - if any 'non-permitted' user enters their username and password they automatically fall into the 'permitted' group. That may or may not be sufficient for your need.
    There are other options, though, including IP address range checking, a permitted senders list, port options, and more. It's just a matter of how much you want to tweak postfix's configuration.

  • How to prevent user to enter data in "Date/Time Field"?

    Hi folks,
         Back after long time to the forums, where I get answers which are helpful in making me good at utilizing designer.
         I am trying to validate the "Date/Time Field" using JavaScript but couldn't get a proper RegEx expression for various invalid user input formats. If anyone can help me out in finding a proper script that would Great.
         My script grown bigger and bigger to accepting invalid dates, but felt like hardcoding. So, instead I decided why can't we prevent a user to enter data into "Date/Time Field" and use only calendar dropdown. Is there is a way to do this?
    find my sample testing docment
    https://acrobat.com/#d=mYXkrhO2txuEesCfmvxNXg
    Thanks in Advance,
    Rajesh

    Hi Rajesh,
    I don't think there is a way of stopping the user from using the keyboard to enter a date.  You can use the following script in the change event to stop them typing a date but they will still be able to paste a date in.
    if (xfa.event.change.length === 1)
    xfa.event.change = "";
    This code works because if the date is selected from the calendar dropdown then the date xfa.event.change value will be the whole date and therefore longer than one character.
    I couldn't access your sample but if you were to set an display picture for the date field to something other than date{YYYY-MM-DD} then a valid date will have a formattedValue that is different than the rawValue.
    Dave

  • How to restrict the user to enter only numeric values in a input field

    How to restrict the user to enter only numeric values in a input field.
    For example,
    i have an input field in that i would like to enter
    only numeric values. no special characters,alphabets .
    reply ASAP

    Hi Venuthurupalli,
    As valery has said once you select the value to be of type integer,once you perform an action it will be validated and error message that non numeric characters are there will be shown. If you want to set additional constraints like max value, min value etc you can use simple types for it.
    On the project structure on left hand side under local dictionary ->datatypes->simple types create a simple type of type integer
    The attribute which you are binding to value property ;make its type as simple type which you made
    Hope this helps you
    Regards
    Rohit

  • To restrict End user to enter EAN code manually

    In Premargin check when we go for Bar code scanning, the EAN code field appears in editable mode. After scanning an article that field gets the EAN code automatically from database table for that particular article. But one can modify that ean code as it appears in editable mode. I want to make that field to appear in grey mode so that end user can not enter ean code manually and if i scan an article this field gets the ean code from master data.
    How can i restrict end user to enter the EAN code manually in the EAN code field.

    Dear Sri,
    Thanks for your reply but i have tried this option also. Let me explain you about the scenario.
    In UI screen there is a field EAN code. It can be filled either by scanner or an end user can feed the data on his own without scanning the article.
    What i want is to make this happen only by scanning not by manual entry.
    Whenever an article is scanned its EAN code automatically should come in that field.
    I have made the field in grey mode but while scanning it is not picking the EAN code of that article and throwing an error message as "EAN code field can not be left blank". When I am making that field in editable mode then it is able to pick the EAN code after scanning.

  • Need to raise a restriction that user can not put multiple PO references in PO Number field in Sales Order.

    Hi,
    reference to subject we need a restriction that user can not put different PO reference within an Order. One Sale Order should have one PO reference at Header and Line's of the sales order. Currently what is our issue that all the sales order are created by Quotes from quoting module. Whatever the line items come from quotes into sales order having no PO Number reference with them but when user completing the sales order user puts the PO reference at Sales Order Header which can not be linked or passed on those line items who captured from quotation. Due to this PO reference value difference between Lines and Header system generates multiple AR invoices based on unique PO Number references within an order.
    we need single PO reference per sales order. How can we restrict this if line level PO number reference is different from Header PO number reference that user can not proceed further?
    Regards
    Kaleem A. Bhatti

    Dear Zakir,
    Thanks a lot for your favorable response. The query is solved now by defaulting rules.
    Regards
    Kaleem A. Bhatti

  • Modification in me23n :for specific purch. group ,user can enter specific

    Hi ,
    I have to make modification in me23n that for specific purchase group ,user can enter specific matrial no .But I have never did anything before  in standerd sap.So how I have to proceed in order to achieve this.
    Regards,
    Seema.

    Hi,
      This can be achieved using enhancements in SAP, which could be customer-Exits or BAdi implementations. I think this can be achieved using enhancement(Customer-Exit) MM06E005(Tcode-SMOD) function module EXIT_SAPMM06E_012.Here you have import parameter I_EKKO which will have purchase org and tables TEKPO which will ahve all lines so youc an add a custom check to validate materail based on purchase org.
    Regards,
    Himanshu

  • Apps that arbitrarily restrict which users may use the App, such as by location or carrier, may be rejected

    Hello,
    I have an inquiry, this section:
    Apps that arbitrarily restrict which users may use the App, such as by location or carrier, may be rejected
    We have an mBanking app to be built and the Bank is insisting on forcing a mandatory update when there is a need
    and the user should be restricted from logging in in such case (as a security update or important bug fixes).
    Does the above fit in what will be rejected? Will the application be rejected in such a case? if so are there any workarounds?
    Thanks
    nsawaya

    No, no, and no.
    Sorry, but this is Apple we’re talking about here.
    Bob

  • From which node can "insurance data" be created in SPRO?

    hi,
    from which node can "insurance data" be created in SPRO? I mean the Insurance company names and other details.

    Hi,
    Personnel Administration -> Payroll Data -> Insurance -> Create Insurance Companies
    Hope this will resolve your query.
    Regards,
    Naveen.

  • I have date type list field in sharepoint list and i have created one form in sharepoint webpage.

    Hi All,
    i have date type list field in sharepoint list and i have created one form in sharepoint webpage.
    Now i want to save that field from shareepoint webpage, its declared "t1.text" but its showing error.
    How can i save this field?

    Hi AnilKarthink, 
    I wrote a Technet Wiki article on saving data to the various SharePoint fields. You can view it here: http://social.technet.microsoft.com/wiki/contents/articles/21801.sharepoint-a-complete-guide-to-getting-and-setting-fields-using-c.aspx
    Regards, Matthew
    MCPD | MCITP
    My Blog
    View
    Matthew Yarlett's profile
    See my webpart on the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here:
    Upload and Crop User Profile Photos

Maybe you are looking for