Fix bug where form value is never set if the name contains an underscore.