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

New Post: Dropdown field sending null on form submission

$
0
0
Mark:

You can do something like this:

$("nobr").filter(function() {
// Ensures we get a match whether or not the People Picker is required (if required, the nobr contains a span also)
return $(this).contents().eq(0).text() === "YourColumnName";
}).closest("tr").hide();

I've simply take the code I use to find a People Picker in the page in SPServices and hidden that row. A hidden element is still saved; a disabled one is not.

M.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



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