Anthony, thanks for the help. I am still a new developer and i am
struggling on how to change a databases field settings in my
controller:

def user()
   if request.args(0) == 'profile':
      #i need to call database here, select row and change readable/
writable to 'True'








On Aug 19, 6:58 am, Anthony <[email protected]> wrote:
> On Friday, August 19, 2011 5:30:06 AM UTC-4, Anaconda wrote:
>
> > On Aug 19, 12:52 am, pbreit <[email protected]> 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