How to hide two fields in SharePoint list when a dropdown value selected?

Hi all,
I have a SharePoint list which have four columns 1 Title 2.Type (Dropdown: option1:Issues Option2:Risk) 3.Risk Name and 4.Risk type. If 'type' value is 'Issues' then I need to hide field 3 and 4. In other words, default value in dropdown should be 'Issue'
and want to hide field 3 and 4 are onload without using InfoPath.
How to achieve this? Thanks in advance!

You can make use of jquery for the same. Add script editor webpart on the page and access the dropdown value and based on the value you get, show or hide the fields. Below are some pointers.
Geetanjali Arora | My blogs |

Similar Messages

  • How to compare two fields from different list sharepoint designer?

    hi All,
    I need to add a value to a field using SharePoint designer workflow. The value is from another column.
    for example list A has the field has loginID,  and another list B has loginID  amd another column called Desig.
    i need to compare both and get the Desig field and store it to a column. how do i do that in sharePoint Designer workflow.

    you can create a workflow variable ex.Test. and add an action set Workflow variable. Then you have to set this variable value using lookUps. something like(in look up window)
    Data source: Choose List B
    Field from source: Choose Desig
    Then under find the list item
    Field: Choose login Id
    Value :(Again open lookup window by clicking "fx") and in this window choose 
        data Source: List A
      field from source :LoginId
    and click ok.
    attached is the image for your reference. (I am using other lists,you can change appropriately )

  • How to get value with two parameter fro sharepoint list in SSRS reporting

    I am using Sharepoint list and fetching data in SSRS.
    Using three parameter as Department,Section and subsection.
    with filter everything working fine,but if i use category All and Sub category all for particular department,unable to get record.
    please let me know how to implement.
    Help will be appreciated.
    Hasan Jamal Siddiqui(MCTS,MCPD,[email protected]),Sharepoint and EPM Consultant,TCS
    | Twitter

    Hi Hasan,
    Per my understanding you want to add mutilple value parameters to filter the data in the sharpoint list datasource report, right?
    I have a test based on the step by step details information in below link and all works fine which will make the multiple value parameter works fine:
    Add the custom code from above link
    Parem1 is the parameter which get values from a query and with all the values(duplicate value),please setting as below:
    Param2 is the parameter which will display in the report have done the deduplication, check the "Allow Multiple values" and then Specify the available value and default value using below expression:
    =Split(Code.RemoveDups(JOIN(Parameters!Param1.Value, ",")), ",")
    Add the filter and preview.
    Similar thread below for your reference:
    SSRS reporting with sharepoint list using Distinct and Multivalue
    If i have some misunderstanding, please try yto provide more details information about your requirements.
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Creating auto-increment field in SharePoint List

    In SharePoint, we can create the auto-incremental field by many ways, I am going to discuss two ways of doing it.
    Calculated field
    Item Event Receiver
    1. Using Calculated field:
    Using this we can accomplish it without doing any programing and it is a relatively simple way of doing it. By using “Calculated” column in SharePoint List we can create auto-increment field. We can accomplish this by creating a new column and choosing the
    column type as “Calculated (calculation based on other columns)”. And in Formula field, we have to enter [ID]
    In fact this will be using the values from “ID” field from SharePoint list that starts from 1.
    For example, if we want to start our auto-increment column from 100, we can modify the “Formula” field of Create New column screen, we can have to enter [ID] + 99
    For detailed info please follow the blog I wrote here:
    2. Using Item Event Receiver:
    By using this strategy, users have advantage to edit the existing values, we can also avoid it by making field read-only on feature activation. Using item event receiver, on ItemAdded event, we have to find the highest value among previously added items
    and then save the incremented value to current newly created auto-incremental column.
    For code of event reciever please follow the blog I wrote here:
    Happy Coding

    Use Sharepoint Designer to create a Workflow for the list containing the field to increment. For my project I had an Invoice field that I wanted to start with 1001 and increment from there so I made the following workflow to do this.
    In the new workflow screen in Sharepoint Designer create two actions in Step 1:
    Calculate Current Item:ID plus 1000 (Output to Variable: calc)
    then Set AutoIncrementNumber to Variable: calc
    This is just a guide. If you just want the auto-increment to start with 1 then you can just use this step
    Set AutoIncrementNumber to Current Item:ID
    Also, make sure you select the correct name for your field in the Workflow action instead of AutoIncrementNumber.
    Save the Workflow, close it, and then open it again in Sharepoint Designer. Check the box for "Start workflow automatically when an item is created." Save it again and then click on the Publish button to make it active on the sharepoint site. The value should
    now increment for each new item created in the list.

  • 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:
    Regards, Matthew
    My Blog
    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

  • How to Hide some Rows in a List view Web Part using JavaScript ?

    How to Hide some Rows in a List view Web Part using JavaScript ?

     Here is the code that worked for me:
    var Elements = document.querySelectorAll('div[id=WebPartWPQ3] table[class=ms-listviewtable]>tbody tr')
    for(var i=0, n = Elements.length; i < n; i++)
    WebPartWPQ3 -> ID of webpart Div
    ms-listviewtable -> class name of table in Div -> classname of td to get text

  • How to hide the field from the view in the webdynpro application?

    Hi Gurus,
    I got a requirement where in which ,default layout has the field name Time.......To......... which is (2 input box ) and one lable assigned to the container.........
    Now my requirement is to hide this field from the layout for all cases of leave......(all types of leave)....
    I got a few inputs from forum that we can achieve this by implementing the following steps..........
    Create In context => Value attribute => Say Visibility
    Go to its properties
    In View Layout
    Select UI Element Set Visible property to this context variable Visibility.
    In wdDoModifyView() You can set this property to false
    Can you people tell me where to create the value attribute........
    In the view context or in the component context...........
    and field that am talking about is assign to the container you want me to assign this context variable property to all ......Like to input box ,label and the container..........
    Please calrify this ASAP...........
    Thanks in Advance,

    Hi Manoj......
    Hi Murutuza,
    As per your guidelines I have created the value attribute in View context (which has the field..... which needs to be hide)inside the value node say FieldVisibility.......and attribute name OldTimeDuration......and I set this value with uidefeneitions Visibility .......
    and I bind this vaule with the field property visible(Time.......To..........)which I need to hide...........
    Now in the view implementation tab ..........I have coded in the doinit method(since my requirement to hide the field from the layout in all cases).........
    But if I deploy the application and see still am getting the same field dispalying in the screen.........
    I even tried putting this code in wdmodifyview method.........same results........
    Kindly tell me how to hide the field permenantly from the screen............(without any conditions.)
    Thanks in Advance,

  • How i hide a field of a custom view in OAF 11

    Hi, im a new developer of OAF11.
    What should I do, to customize the Purchase Order screen, if then the requirement is to hide the field that i insert from extended VO.
    What I did was modify the XML of the page to add the field and then extended the original AM.
    I added the extended view into the custom AM to prevent that fail with the field that i insert.
    I must clarify that I modify the path of AM default for the path of the custom AM in the XML, then i upload the XML with the command import, and i see it the field in the page.
    I tried to hide another field that i created by customizing the page, but I couldnt do. That´s why i insert directly the field in the XML original.
    I Try to customize the driver involved with the page, but nothing happened.
    First try it on the controller Father and after the son.
    The page is in the POS module (iSupplier), and is POSVIEWPOG (PO Details).
    The code that attempts to hide the field is:
    OAApplicationModule am = paramOAPageContext.getApplicationModule(paramOAWebBean);
    OAViewObject oaviewobject1 =(OAViewObject)am.findViewObject("PosViewHeadersVO");
    if (oaviewobject1 != null)
    OARow row = (OARow)oaviewobject1.getCurrentRow();
    String vCustomType = (String)row.getAttribute("TypeName");
    if (vCustomType.equals("Blanket Agreement"))
    OAMessageStyledTextBean vHideField = (OAMessageStyledTextBean)paramOAWebBean.findChildRecursive("drbQuantity");
    OAMessageStyledTextBean vHideField = (OAMessageStyledTextBean)paramOAWebBean.findChildRecursive("drbQuantity");
    Can anyone help me?
    If im grong other solution that i think is:
    How I can put a field on a page with code and how to hide the field with conditions?, consider that the field is from the VO extended.

    Hi Yichao,
    Chk these links
    thanks and regards

  • How to hide a field from table maintenance view?

    How to hide a field from table maintenance view? 
    The field is used for data created date. I need to hide it from display.

    Chk this link.
    Maintenance Attributes
    You can assign a maintenance attribute P to individual fields in the maintenance view definition in the Dictionary (SE11). It can be  H (hidden)
    H (hidden)
    A field flagged H is not displayed on the screen. This field must also be filled in the background by a routine at an event.
    The system writes R and H fields to the database like all other fields when a new data record is saved.

  • How to hide input fields on selection screen using variant attribute

    Hello all,
    I want to know how to hide input fields on selection screen using variant attribute conpletely.
    As you know, when setting the attribute of variant "Hide field" checked, the field is temporarily hidden, but when clicking "All Selections(F7)" button on the selection screen, the fileds become appeared.
    I want to hide the field completely. Di you know how to do ?
    Thank you for your support.
    Hideki Kozai

    Use this attribute hide field and save the variant. Then create transaction for this program setting default variant for parameter Start with variant . The user who runs it will have it by defualt set.
    in PBO simply use LOOP at screen and output = 0 for this field. This will ensure that field is invisible in any case.

  • Create a Lookup for ProjetServer field in SharePoint List item

    I would like to display values in custom fields of MS Project Server 2010 in Ms SharePoint list 2010. The values ought to be displayed as lookup in a field of Listitem form. I would like to futher query and populate certain fields in New
    Items form from Project Server based on the value in the lookup.
    I am looking for guidance to implement this. Any help in this regard will be appreciated.

    You could do this by creating an External Column, connected to an External COntent Type from Project Server.
    Andrew Lavinsky has several good blog posts on using ECTs in Project Server. Here is an example:
    Prasanna Adavi, Project MVP

  • How to hide mandatory field in OAF page through personalization

    Could u please help, that how to hide mandatory field in seeded page.
    This could be achieved through personalization only.
    Edited by: 927747 on Jun 21, 2012 2:16 AM

    yes you can hide that field by simply set the render propert to "false" using the personalization.
    Vijay Reddy.

  • How to hide document fields in Bid Invitation

    While creating Bid invitation I need to hide some fields e.g. Attachements, upload a document, description, button Search & Add. These fields are available under tab  Header data -> Documents.
    BADI 'BBP_UI_CONTROL_BADI' works to hide Bid Invitation Basic data, but not for above.
    Can anybody let me know how to hide above fields.
    Nilesh Kumar

       I dont think there  is any BADI/screen variant for this requirement.But yes,if any of the 2 are available in the std,ITS template changes should be avoided.
       The foll are the screen variants available in SRM 5.0:
    Item data overview in the invoice without purchase order reference: Screen variant BBP_IV_NON_PO; Method GET_SCREENVARIANT_INV
    Item data overview in the invoice with purchase order reference: Screen variant BBP_IV, Method GET_SCREENVARIANT_INV
    Item data overview in the confirmation: Screen variant BBP_CF; Method GET_SCREENVARIANT_CONF
    Item data overview in the confirmation for time recording: Screen variant BBP_CF_TIMEREC; Method GET_SCREENVARIANT_CONF
    Item data overview in the purchase order: Screen variant BBP_PO; Method GET_SCREENVARIANT_PO
    Item data overview for contracts: Screen variant BBP_CTR_ITEMLIST; Method GET_SCREENVARIANT_CTR
    Item data overview for selection of contracts: Screen variant BBP_CTR_ITEM_SELLIST; Method GET_SCREENVARIANT_CTR
    Search results for changing/processing a purchase order: Screen variant BBP_SEARCH_PO_IN_PO; Method GET_SCREENVARIANT_SEARCH
    Search results for entering an invoice and/or confirmation: Screen variant BBP_SEARCH_PO; Method GET_SCREENVARIANT_SEARCH
    Search results for entering a purchase order: Screen variant BBP_SEARCH_SC; Method GET_SCREENVARIANT_SEARCH
    Search results for displaying/processing a bid invitation: Screen variant BBP_SEARCH_BID; Method GET_SCREENVARIANT_SEARCH
    Search  results for displaying/processing a bid: Screen variant BBP_SEARCH_QUOT; Method GET_SCREENVARIANT_SEARCH
    Search results for displaying/processing an auction: Screen variant BBP_SEARCH_AUC; Method GET_SCREENVARIANT_SEARCH
    Search results for displaying/processing an invoice: Screen variant BBP_CHANGE_IV; Method GET_SCREENVARIANT_SEARCH
    Search results for displaying/processing a confirmation: Screen variant BBP_CHANGE_CF; Method GET_SCREENVARIANT_SEARCH
    Search results for entering/displaying/processing/status of a shopping cart: Screen variant BBP_SC; Method GET_SCREENVARIANT_SC
    Worklist for Sourcing: Screen variant BBP_SOCO_WL; Method GET_SCREENVARIANT_SOCO
    Work area in Sourcing: Screen variant BBP_SOCO_GA; Method GET_SCREENVARIANT_SOCO
    Overview for the budget display: Screen variant BBP_BUDGET; Method GET_SCREENVARIANT_BUDGET

  • How to hide ,unhide columns  in ALV List

    Hi all,
    How to hide ,unhide columns  in ALV List..
    Plz guide me.
    Thanks in advance..

    Hi Joseph,
    Check the following thread:
    Hide Unhide columns of ALV grid Report.

  • How do I remap fields in Visio shapes when pointing to an external data source?

    I'm creating an organizational chart (org chart) in Visio. It refers to a SharePoint list. in the SharePoint list there is a column called FullName. This is the one I want to map to the Name field in a Visio shape. How do I remap fields in Visio shapes when
    pointing to an external data source?
    Learning SharePoint

    Unfortunately the required field/column names are hard coded in the add-in.
    al edlund
    Al Edlund Visio MVP

Maybe you are looking for

  • Error when sending email from a web application that runs on GlassFish

    Hello all, I hope some can give me some hints on how to fix this problem. I have a web application built in Java that runs on GlassFish v3. The application uses a mail plugin that makes use of mail.jar Whenever I try to use the plugin to send an emai

  • How to use the Oracle's SET ROLE?

    Hi all, does anyone know how I can call SET ROLE (for Oracle) from java before the report is produced with Crystal Reports API? I'm using Crystal Reports 2008 for the report design and new crystal report java sdk of JRC (v12.2 with SP1) which know as

  • Does the G31M3 V2 offer ACHI mode?

    I am running a G31M3 V2 mobo with BIOS v1.5 and have one hard drive connected to the first SATA port and an external drive connected to the second SATA port via an eSATA connector bracket. For the life of me I can't find the "ACHI" choice for disk co

  • Photoshop CS6 trial runs at 25% CPU constantly

    I'm using the trial of Photoshop CS6 extended but shortly after I start working on a document, I get a warning that it is taking up high CPU. When I check the windows task manager I can see that it's running at 25% CPU contstantly. I have a quad core

  • Indexing stops

    I can start indexing a folder and after a few minutes, it will stop. I know indexing is not really necessary, but this kinda makes me wonder if something else is going on or not quite right. Anyone have a solution? TiA, MDD G4x2   Mac OS X (10.3.9)