28 Mar
2002
28 Mar
'02
8:59 a.m.
Hello zopistas, I have a ZPT page with user registration form in it. The form calls python script and if the user login is already in database I have to return previous filled form to change the user login. How can I implement this? addClientForm: <form action="addClient"> ... <input type="text" name="user.login:record"> ... </form> addClient script: if inDB(user.login): return context.addClientForm() - but this returns empty form return context.addClientForm(REQUEST) - this returns empty form too -- Best regards, alienoid mailto:alienoid@is.lg.ua