Problem Description:
How to set default values
to SharePoint form control using javascript.
Resolution:
Add below script in
SharePoint form content editor web part :
<script
type="text/javascript">
$(document
).ready(function() {
$("#Control_Name_From_Page_View_Source").val("Default_Value");
});
</script>
No comments:
Post a Comment