He all:
I have the fields:
field1=TextField()
field2=TextField()
field3=TextField()
I show that in the kid template in a form:
<span py:content="display_field_for('field1')" />
<span py:content="display_field_for('field2')" />
<span py:content="display_field_for('field3')" />
How I do so that when entering a value in field1 or field2, show the sum
in the field3, without pressing the submit button...?
I suppose that using javascript, ajax, but I don't know how to do it.
(And I couldn't find the suitable tutorial...)
Have anyone any pointers to solve the problem?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---