* This method also opens the keyboard when user is on mobile.
So, this one is easy peasy ;)
Add this code to your page before </body> tag
<script>
$('.btn').click(function () {
$('html').animate({scrollTop: $('#email').offset().top - 200}, 1000);
$('#email').focus();
});
</script>
Then give your button a 'btn' ID, and to the input field 'email' ID.
THAT's IT !
really!
When your bath soap bar gets too small to use, don't throw it away! open the next bar, and when you finish showering, stick the small old bar to the back of the new bar. Onces they both dry, they will become one.