Added inputs and started implementing onsave for showitems