You'll need to add a bit more info on how 'edit this task' is gonna work because there are a few different implementations from server-side to client-side (populated upon parse? forms ajax or not? etc)
If you run your actual "submit" work on the submit event you can take advantage of when the user presses ENTER in the form. (Aside from a text area of course)
<form id="myForm" onSubmit="return yourCoolSubmitFunction();" >
or
$( function() {
$('#myForm').submit(function() {
// code here that can validate or simply
return true; // submit the form
// return false won't submit, which is good for validating input
});
});
As for the button text if the form is being populated as an "edit form" via your server-side code then you can simply change the button label then when you generate the html for the first time.
If it's ajax, you can update the button when you load the form's data.
If i'm still not hitting the nail on the head for ya, perhaps adding a form element to check for? like <input type="hidden" name="isEdit" value="1" />
if in edit mode that you can check for?
if( $('#myForm input[name=isEdit]').val() == 1 ) ...