Modify

Opened 11 years ago

Last modified 7 years ago

#11233 new enhancement

Can I use WikiForms to update a table?

Reported by: matt@… Owned by:
Priority: normal Component: WikiFormsPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

Is there a way to use the forms plugin to add a row to a basically static table? I'd like to use it to add rows to a release table for internal use in my software department. I'd appreciate any assistance if it is possible.

Attachments (0)

Change History (6)

comment:1 Changed 11 years ago by anonymous

Yes you can. (at least how i understood your question)

{{{
#!WikiForms

|| static table row 1 col 1                || static table row 1 col2     || static table row 1 col3
|| static table row 2 col 1                || static table row 2 col2     || static table row 2 col3
|| <tf>select:simple_select:1 2 3 4</tf>   || <tf>input:simple_input</tf> || <tf>checkbox:simple_checkbox</tf>

}}}

Please see also the other examples on the wiki page ;-)

comment:2 Changed 11 years ago by matt@…

Unfortunately that's not quite what I meant, or else I don't know what to do with the inputs from the form.

What I'm looking for is a way to add a row to a table on the page, through the use of a form. The Table has a few columns, and the bottom (or top, conceivably) row is a set of input fields. You fill in the form row, hit "submit" and the table is updated with all of the input from the form row, pushing a new entry on to the table.

Does that make sense? Perhaps some javascript is necessary? I'm just not sure how to add data to the table from the input boxes.

comment:3 Changed 11 years ago by anonymous

...that would mean that a form-submit changes a wiki-page?!?

Possible is nearly everything but this use-model is not forseen.

comment:4 Changed 11 years ago by matt@…

Yes, that's what I'm describing, basically. Any ideas on how?

comment:5 Changed 9 years ago by Ryan J Ollos

Type: defectenhancement

comment:6 Changed 7 years ago by Ryan J Ollos

Owner: asic_druide deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.