Hi guys.

I have this construction:

    form = SQLFORM(db.my_table,
        fields=[
            'description',
            'date'],
        submit_button='Add data')

    my_person_data = TR(LABEL('Customer'),
INPUT(value=other_table.customer_id.name, name='customer_name'))
    form[0].insert(0, my_person_data)


How can I make the new added field (aka, customer_name) readonly?
I tried to set a writable=False parameter in INPUT, but it didn't worked.

--
Vinicius Assef.

Reply via email to