It should work, but I would just do a fresh install on the new machine, you'll need to install the dependent programs anyway, and the rest of the install is fairly painless. After that, you can just copy your changed files and/or database dump.
I have several number and string fields in my plugin-rendered page through a custom template edit_info.tpl.
Everything is working fine and wanted to add some validations for the fields before submitting.
What would be the best way to achieve this?