empty checks on repeater fields (no saving empties!)
added write-in-pi hiding logic