Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Set a text field value based on a button click then save the item to the list?

$
0
0

Hi Guys,

In our custom edit form we have 2 buttons namely Submit and Update. If we click Submit, STATUS should be set to Submitted and then save. Otherwise, if theUpdate button was clicked, STATUS should be set to Submitted and then save. By the way, STATUS is just a single line of text field residing on the custom edit form. I know this can be achieved by placing JavaScript in the button. Can you guys refer me what should be the correct code for this?

Thanks in advanced,

Arnel


Viewing all articles
Browse latest Browse all 11571

Trending Articles



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