Knut Ytterhaug wrote:
Hi,

I have recieved a lot of requests from my customers which use qmailadmin about that they would like the forms when adding a new mailaccount would have the input fields pre-filled in after a miss-match passwords have occured.

Maybe this already have been discussed, but I would rather check first than making the patch myself first and never tell you about it.

-- Knut




I added this capability using javascript. If the user has javascript disabled they see nothing different and it behaves as now; otherwise, there is a status message next to the second password input box.


This approach saves a trip to the server and lets the user know of a problem before form submission.

It adds one line to header.html and about 20 lines to add_user.html.

If anybody is interested let me know.

Mike


Reply via email to