Blog Sections Open

Why WebLoginPE Registration Can Fail Even When the Form Looks Correct

If WebLoginPE displays the form correctly but refuses to register users, the issue is often in required fields, mode settings, or validation expectations.

The legacy example used a standard-looking WebLoginPE registration call:

[!WebLoginPE?
&lang=`ru`
&type=`register`
&regType=`instant`
&registerTpl=`registerTpl`
&messageTpl=`MessageTpl`
&regRequired=`email,fullname`!]

and still failed to create users reliably.

Why This Happens

With WebLoginPE, the visible form markup is only one part of the flow. Registration can fail because:

  • required fields do not match plugin expectations
  • instant registration mode conflicts with other validation logic
  • password and confirm fields are named incorrectly
  • additional custom fields are treated as mandatory but are not processed correctly

How to Debug It

  • start with the smallest working registration form
  • confirm field names exactly match what the extra expects
  • add custom fields one by one
  • review the returned message placeholder instead of only watching the redirect

The old thread is a good reminder that account registration bugs often come from workflow assumptions, not from the HTML layout alone.

Newer post

Using the `if` Snippet for Multiple Specific Resource IDs

How to handle a small set of specific resource IDs in Evolution templates without writing unreadable chains of conditions.

Older post

Making FormIt `isDate` Work with Russian Month and Weekday Names

Why localized date strings can fail FormIt validation and how to normalize the date format before running isDate checks.