I have a problem of sequence in the list SharePoint 2010. I need a column Sequence with format 000001. This column is in type of single text.
I think the best way is customizing a workflow, but I cannot use SharePoint Designer, neither deploy a workflow as a WSP file.
I tried the column calculated who is equal to ID, but I must refresh the page to display the right number and the last number always 000000.
I want to try JavaScript to set the value of column. But the code does not work in my site:
$("input[title='title_of_the_field']").val('0');
I find the JavaScript for updating a list item in the site Microsoft. But it does not work.
http://msdn.microsoft.com/en-US/en-en/library/office/hh185011(v=office.14).aspx#sectionSection2