Hallo Chris,

thank you for the good explanation.
I'm then afread that I have to create my own widget for this. Can you 
support me on this?

Thanks,
Tony Michael

On Fri 14 Dec 2012 08:45:40 PM CET, Chris Cogdon wrote:
> If you're designing your own HTML (eg: this is not in the admin) then
> there's nothing stopping you rendering the help text any way you want. Eg:
>
>
> {{ form.field1 }}<img src="questionmark.gif"
> onclick="showpopuphelp('{{ form.field1.help_text }}');return false;" />
>
> (that might not exactly work as written, but using it to give you the
> gist of things... my preference would be to put the text into a <span
> class="fieldhelp> and use jQuery magic to wrap it up)
>
> If you were doing this a lot, and would prefer to stick with using {{
> form.as_table }} (for example) and rely on the default HTML generators
> for each field, then you'll need to create your own widgets, probably
> inheriting from the standard widgets, and override the html generators.
>
>
> If you wanted to change how the fields were being displayed in the
> ADMIN, then that will require overriding the field widgets in the
> ModelAdmin's with your own widgets created the same way above.
>
>
>
> On Friday, December 14, 2012 5:16:49 AM UTC-8, 4 The good Life we work
> wrote:
>
>     Hallo,
>     I'm wondering if there is a better way to have helptext informs than
>     help_text which is displayed under the form.
>     Something like FIEDL ? while ? is a button I can click on and it
>     displays the helptext.
>
>     I'll welcome an example.
>
>     Thanks,
>     Tony
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to