Updated show/hide logic on form submission.
Updated show/hide logic on form submission.

 * Instead of hiding the elements I'm marking them as readonly.

 * Refactored the logic to apply read/write access at the end of the block so there's no duplicate code.

joshtronic/pickles,joshtronic/pickles