Fix submitted values for text(area) and dropdown xprofile fields during registration
|Reported by:||r-a-y||Owned by:|
During registration, if you have a required text, textarea, selectbox or multi-selectbox xprofile field filled in and you do not successfully complete the form, on submission, these values are wiped out forcing the user to fill in the respective fields again.
The (multi)selectbox error has existed since BP 1.2; the
textbox / textarea error is actually a regression from BP 1.2.
Attached patch attempts to fix these issues and also finetunes a few more "for" loops missed from #2985.