I am wondering what is the best practice when it comes to storing html forms in WordPress. I can either store the code for the form in a template file or I could store it in the page content.
I do not know the technical ability of the end admin user, so I can store it in a template where he cannot edit and break it. Or I can store it in the page content where he can edit and destroy the form.
*Note this form is heavy styled and requires supporting javascript.
Not really answering the question – but when using forms in wordpress I would seriously consider using contact forms 7 plugin – its completely customisable and can have multiple forms anywhere on your wordpress site