Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Copy Field to another Field

$
0
0

I have the script below to set a field value from a different field on a form. However, it is not working. Can someone assist?

<script src="/SiteAssets/jquery-3.4.1.js"></script> <script type="text/javascript">
$(document).ready(function() {
    $('#Current_Status').keyup(function(e) {
        var txtVal = $(this).val();
        $('#Latest_Status').val(txtVal);
    });
    $('#Latest_Status').keyup(function(e) {
        var txtVal = $(this).val();
        $('#Current_Status').val(txtVal);
    });
});</script>


Lee Mossolle


Viewing all articles
Browse latest Browse all 7589

Trending Articles



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