I have a fairly complex form that I created with the TracForms plugin 
(http://trac-hacks.org/wiki/TracFormsPlugin).  Part of the form is a checklist 
of Action Items.  In the form template, I allowed for five action items but I'd 
really like users to be able to click an "New action" button which would add an 
item to the list.

My checklist looks like:

 = Action Items =

 ||'''#'''||'''Description and 
location'''||'''Type'''||'''Originator'''||'''Assignee'''||'''Resolved''||
 ||1.||[tf.textarea:act1]||[tf.select:atype1 Major Minor 
Edit]||[tf.input:aorig1]||[tf.input:aass1]||[tf:ares1] At 
[tf.when:ares1][[br]]by [tf.who:ares1]||

(with four more lines for act2..act5).  How can I (or can I?) add a button 
which adds a row to the table?  In a raw AJAX application, I've written 
JavaScript which manipulates the DOM and adds <tr>...</tr> to a <table></table> 
but it's less clear to me how to do that in the Trac wiki.

                                                 Chris
--
Christopher Nelson, Software Engineering Manager
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY  12019
Tel: +1.518.877.5173, Fax: +1.518.877.8346 www.sixnet.com 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
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/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

<<attachment: Christopher Nelson ([email protected]).vcf>>

Reply via email to