update the value course function

add check info before submit form in value.html