I want to display link (login,lost password) if a user already exist when trying to create a new user.
You can't put html inside the msg of a validator as it will be escaped. I don't think it a bad things, since if I want to support different output format from my template, it would not be great to have static HTML in the error fields. I think a better solution would be to set validator msg equal internal error code like 'user_exist'. 'password_nomatch'... And inside the template, do a if on the msg and print out from there whatever we wish in html. Now is this a good solution or there a better way to do it ? If it the solution, what would be the way to implement it since form.render() will auto display the form. Any help would be appreciated. Moc NB. I'm new to webpy, and It the first framework that I find not getting in my way too much. Thanks for the dev and people who help ! -- You received this message because you are subscribed to the Google Groups "web.py" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/webpy. For more options, visit https://groups.google.com/groups/opt_out.
