- Moderated by:
- Support Team
-
- rank:
-
Helper
- registered:
- September 2005
- Status:
- offline
- last visit:
- 18.09.08
- Posts:
- 145
I've patched my NewUser/user.php to solve the problem of users being told to hit the back button after an error, but the form not working at that point. Instead of displaying just a static error, the registration form is redisplayed with the error at the top.
This seemed like a simple solution, but I couldn't find any discussion of this since Jan. I'm perfectly willing to submit this as a patch, unless there is an obvious reason I've missed why this hasn't been done ?
-Chris
-
- rank:
-
Software Foundation
- registered:
- December 1969
- Status:
- offline
- last visit:
- 15.11.08
- Posts:
- 4481
please check the .8 way of checking forms with some client-side-javascript: http://pn8.pn-cms.de/index.php?module=Users&func=register
--
regards from germany
..::[Zikula Application Framework]::.. ..::[SEO-Blog]::.. ..::[CMS Sicherheit]::.. -
- rank:
-
Helper
- registered:
- September 2005
- Status:
- offline
- last visit:
- 18.09.08
- Posts:
- 145
Interesting, and it degrades nicely if javascript is turned off. While back now works, having to hit Back from an error is still clunky. I would think redisplaying the form with the error would be preferable in the case that JavaScript wasn't available.
With the JavaScript version, I would also think it should be possible to have just a single button that checks, and if everything is ok does the submit. Again, having two buttons seems clunky, but this isn't the forum.
In any case, I don't think trying to port the Ajax stuff into 0.76x is worthwhile, so this is a simple fix for anyone who wants it. I would like to know what problem tracedog had.
