Hello, I need to add a button or link in the editview of opportunities and when the user clicks it, the button will hide and a correlative number has to be shown. I previously have to save this number in the bd and each time that user presses this button the number has to increase by 1.

How can I do that? Can anybody help me?

Thank you very much