Thanks, I thought I checked this.
Marcin
On 30 September 2013 18:22, Daniel Roseman wrote:
> On Monday, 30 September 2013 18:18:00 UTC+1, Zoltan Szalai wrote:
>
>> try not to use the same value ('about') for the name attribute of the
>> textarea and your submit button.
On Monday, 30 September 2013 18:18:00 UTC+1, Zoltan Szalai wrote:
> try not to use the same value ('about') for the name attribute of the
> textarea and your submit button.
> not sure it helps the situation though.
>
>
I'd say that is the exact cause of the problem, actually.
--
DR.
--
You
try not to use the same value ('about') for the name attribute of the
textarea and your submit button.
not sure it helps the situation though.
On 2013.09.30. 19:13, Marcin Szamotulski wrote:
ps. If I render the form with
enctype='multipart/form-data'>
{{ form.as_ul() }}
I get the
ps. If I render the form with
{{ form.as_ul() }}
I get the same behaviour.
Marcin
On 30 September 2013 17:11, Marcin Szamotulski wrote:
> Sure here it is how the form is render:
>
>
> value='' />
>
> Submit
>
>
> Format:
>
>
Sure here it is how the form is render:
Submit
Format:
Text
reStructuredText
MarkDown
Profile image:
I use jinja2 template language and it is rendered with
{% csrf_token %}
{{ render_field(aboutform.about,
On Monday, 30 September 2013 15:41:47 UTC+1, Marcin Szamotulski wrote:
>
> I don't do anything odd: I simply modify it by typing in side textarea.
> The page has a very simple JavaScript which does not do anything with
> the textarea (though I double-checked that turning it off does not
>
On 06:38 Mon 30 Sep , Daniel Roseman wrote:
> On Sunday, 29 September 2013 22:58:38 UTC+1, Marcin Szamotulski wrote:
>
> > Dear Django users,
> >
> > The short question is: How to use Textarea widget with initial value?
> > The long version: I have a form
On Sunday, 29 September 2013 22:58:38 UTC+1, Marcin Szamotulski wrote:
> Dear Django users,
>
> The short question is: How to use Textarea widget with initial value?
> The long version: I have a form with a simple Textarea widget
>
> class Form(forms.Form):
>
> f
Dear Django users,
The short question is: How to use Textarea widget with initial value?
The long version: I have a form with a simple Textarea widget
class Form(forms.Form):
f = forms.CharField(widget=forms.Textarea())
in a view I set an initial value:
form = Form(initial={'f': 'initial
9 matches
Mail list logo