Yes, this should be done in the view, but the syntax in the accepted answer is incorrect, as it will trigger field validation on all fields before submitting the form. Use instead:
def myviews(request):
.....
form = MyForm(initial={'like':'Yes'})
...