How to try submission code on localhost, before upload web pages