2014-07-01, 09:55 PM
When a guest tries to use a username for posting, that is already used by a member the error() function is used to display the error.
This forces the guest to use the back button of the browser to get the submitted input back (worst case: it's lost).
Therefore I'd suggest to use an inline error instead, that is displayed above the input form, like it's done for captcha errors etc.
If I was about to decide I'd tread this as a bug for it's a really ugly and user unfriendly sollution and would change this in master branch too, but that's just my opionion.
This forces the guest to use the back button of the browser to get the submitted input back (worst case: it's lost).
Therefore I'd suggest to use an inline error instead, that is displayed above the input form, like it's done for captcha errors etc.
If I was about to decide I'd tread this as a bug for it's a really ugly and user unfriendly sollution and would change this in master branch too, but that's just my opionion.