I need to render my forms using the "title" property to check jquery, how rude is it to render my forms this way?
<input name="name" id="name" title="Please fill Your name!" value="" type="text" />
Thanks guys,
The easiest way is to set this attribute manually and statically as follows:
class MyForm(forms.Form): myfield = forms.CharField(widget=forms.TextInput(attrs={'title':"MYMEGATITLE","id":"MY_ID",'size':'60','maxlength':'70'} ))
Source: https://habr.com/ru/post/1746600/More articles:Search Algorithm (with already implemented sorting algorithm) - javaDoctrine + SQL Server Stored Procedures - databaseUnable to customize Explorer Explorer project context menu in VS 2010 - visual-studio-2010Qt and auto_ptr - c ++How to templatize a container type in a function declaration? - c ++Translator with a single-mode virtual machine - you can evaluate all the math. expressions? - stackTkinter integration with glib mainloop - pythonGoogle App Engine, task queues - pythonКак использовать графический интерфейс NUnit с веб-сайтом С#/ASP.NET? - c#WinForms Mouse Capture - c #All Articles