Thank you for the answer!
On Monday, April 7, 2014 11:34:33 PM UTC+2, 黄祥 wrote:
>
> 1) when the form is accessed some of the fields should already contain a
>> hint which is not necessarily the default value of the field
>>
>
> i think you can achieve it using default
> e.g.
> table.registration
Look at chapter 6 in the 'field constructor'
- comment is a string (or a helper or something that can be serialized
to a string) that contains a comment associated with this field, and will
be displayed to the right of the input field in the autogenerated forms.
On Monday, April 7, 2
>
> 1) when the form is accessed some of the fields should already contain a
> hint which is not necessarily the default value of the field
>
i think you can achieve it using default
e.g.
table.registration_date.default = request.now
> 2) the user should select a value from a drop-down list
3 matches
Mail list logo