I think "Jangan perpendek celana Anda" is also possible, and maybe even better
yes, it's a formal form.