You might put the value in a hidden field as well.

Anthony

On Monday, July 9, 2012 11:09:50 AM UTC-4, Yuval wrote:
>
> The ajax function is defined as:
> ajax(url, [name1, name2, ...], target)
>
> where the 'name1' 'name2' are defined as ids of an input fields.
> *This is working fine for fields that are defined as:*
> *
> Field('first_name', label=T('First Name'))
>
> When the field is set to be read only, it is rendered as a label, and the 
> value is not returned.*
> *
> Field('first_name', label=T('First Name'), default=db.auth_user.first_name
> , readable=True, writable=False),
>
>
> *
> *Is there a way to get back the value when the field is defined as read 
> only?*
>
>
>

Reply via email to