Not able to get Lookup field value in Sharepoint 2013 online Custom List Using SPD
问题 I have one lookup column named "ActivityStatus" and it has two values. and I just want to check that lookup field value on Presave Action. Below is my code but it is not working. <script type="text/javascript"> function PreSaveAction() { alert("Inside"); var elm = document.getElementById("ActivityStatus"); alert(elm); if (elm == "Incomplete" || elm == "Inprogress") { document.getElementById("ActivityStatus").style.display='none'; alert("Previous Activity is in Progress..."); return false ; }