stringify paramter passed through submit validation function