Re: how to use tkinter widget in django

2010-10-26 Thread jimgardener
thanks elijah..that worked how come id="id_user_entry" not enough? regards jim On Oct 26, 11:54 pm, elijah rutschman wrote: > >   >       min="0" > >       max="1000" > >       step="2" > >       value="6" id="id_user_entry"/> > > Try adding a name="user_entry" attribute to the input. -- You r

Re: how to use tkinter widget in django

2010-10-26 Thread elijah rutschman
>         min="0" >       max="1000" >       step="2" >       value="6" id="id_user_entry"/> Try adding a name="user_entry" attribute to the input. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us..

Re: how to use tkinter widget in django

2010-10-26 Thread jimgardener
hi thanks for the link. I tried this,In firefox3.6.11 ,it is rendered as a text field In chrome it shows a slider. ... select numerical value using slider: {{myform.user_entry.errors}} ... However,I am getting validation error upon processing the form I put the field as an IntegerField in m

Re: how to use tkinter widget in django

2010-10-26 Thread ringemup
Try the HTML5 . On some current browsers, it'll just appear as a text field, although you can supplement it with javascript. Moving forwards, as more browsers support HTML5 forms, it'll appear as a slider widget. See [1]. [1]http://diveintohtml5.org/forms.html#type-range On Oct 26, 7:17 am, j

Re: how to use tkinter widget in django

2010-10-26 Thread Steve Holden
On 10/26/2010 8:50 AM, jimgardener wrote: > thanks for the replies.. > I am wondering if javascript is the only alternative if I want to use > such a custom widget. > If anyone knows about any such python widget please tell me.. > regards > jim > Jim: The reason you can forget using Python is tha

Re: how to use tkinter widget in django

2010-10-26 Thread Jirka Vejrazka
> thanks for the replies.. > I am wondering if javascript is the only alternative if I want to use > such a custom widget. > If anyone knows about any such python widget please tell me.. You might want to dig a bit into website design to understand how JavaScript-based systems work. That would h

Re: how to use tkinter widget in django

2010-10-26 Thread jimgardener
thanks for the replies.. I am wondering if javascript is the only alternative if I want to use such a custom widget. If anyone knows about any such python widget please tell me.. regards jim -- You received this message because you are subscribed to the Google Groups "Django users" group. To pos

Re: how to use tkinter widget in django

2010-10-26 Thread Nelson Saraiva
hi, do this with JavaScript. 2010/10/26 jimgardener > is it possible to use the sliderlike Scale widget from tkinter in > django?I am coding a web app where I need to get a numerical value > entered by the user.I thought ,instead of asking the user to enter a > value in a textfield ,I would

Re: how to use tkinter widget in django

2010-10-26 Thread Steve Holden
On 10/26/2010 7:17 AM, jimgardener wrote: > is it possible to use the sliderlike Scale widget from tkinter in > django?I am coding a web app where I need to get a numerical value > entered by the user.I thought ,instead of asking the user to enter a > value in a textfield ,I would provide a slider

how to use tkinter widget in django

2010-10-26 Thread jimgardener
is it possible to use the sliderlike Scale widget from tkinter in django?I am coding a web app where I need to get a numerical value entered by the user.I thought ,instead of asking the user to enter a value in a textfield ,I would provide a slider which he can move between the minimum and maximum