On Friday, August 19, 2011 5:30:06 AM UTC-4, Anaconda wrote:
>
>
>
> On Aug 19, 12:52 am, pbreit <pbreit...@gmail.com> wrote: 
> > To hide them without creating custom forms, set readable = writable = 
> False 
> > in the controller. 
>
> Thanks, will that be in the def user(): controller.
>
Sure. You could set readable=writable=False in the model definition, and 
then temporarily set them to True in the user() action when 
request.args(0)=='profile'. Or default them to True and change them to False 
when request.args(0)=='register'.

Reply via email to