Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: Check if SPServices is being called

$
0
0

Thanks for the reply Marc.  I was able to determine what the problem was.  I was looking for values in a select and not an input.  Here is the final code that I had to use that included my additional fields that I needed as well...

function PreSaveAction() {
      var txtVendor = $("select[Title=Vendor] :selected").text();
      var txtScope = $("select[Title=ContractScope] :selected").text();
      var txtLocation = $("input[Title=ContractLocation]").val();
      var txtType = $("select[Title=ContractType] :selected").text();      
      $("input[title=Title]").val(txtVendor + ' - ' + txtScope + ' - ' + txtLocation + ' - ' + txtType);
      return true;
 
 
};


Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>