Prevent drop down selection base on other value

Posted on 2008-11-05
Last Modified: 2012-05-05
In sharepoint I have an Issue List that has mutiple  text fields and a dropdown for approval. I would like to prevent the Approval field from being set to approved if the two text boxes are empty (i.e. cost, price..).   I can't set the field to be one of the required fields as the person who enters that request is not the one who sets it to approved. Any suggestion on how complete this step?

Question by:tips54
    LVL 9

    Assisted Solution

    I've had to do something similar in the past.  Modify the list using the SharePoint Designer and add some javascript to the page that disables the dropdown menu when those other two fields contain no data.

    Accepted Solution

    Thanks for responding psgindiana,
    I can't disable the drop down because it has other options besides approved, which can be used regardless if those fields are empty or not.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    This script will sweep a range of IP addresses (class c only, and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
    If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
    The viewer will learn how to count occurrences of each item in an array.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now