I am attempting to use a number of textarea fields in a TWiki Form to store list values for calling in a seperate question processing web form as well as the resultant EDITTABLE that is used to store the resultant topic's URLPARAMs.
I am basically beating my head against the wall trying to figure out how to take the resultant value of the $formfield and further process it for storage in variables. One variable would be defined through a search and return of the value for $formfield(name1) and subsequently parse the value to a special format of
, etc....
My TWiki Form text area fields are basically comma-seperated lists. I am trying to figure out how to parse through the list and render it in the sequence above.
Any ideas?
Thanks.
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
I am wondering if I should switch over to looking into the spreadsheet plugin?
-- BryanEllsaesser - 18 Oct 2007
I have used the FORMATLIST tag in FilterPlugin quite successfully for exactly what you're describing.
-- LynnwoodBrown - 22 Oct 2007
Thanks, I wish I had run across that earlier. I found that if you use
%SEARCH{... format="$formfield(name1)"}%
within a CALC{...} it does a nice job of stripping the commas out of name1's value. So, I ended up nesting $LISTJOIN() and $SUBSTITUTE() in CALC{...} to achieve my desired result. FilterPlugin looks much cleaner. I'll give it a shot next time I need to update my code.
-- BryanEllsaesser - 23 Oct 2007
Consider question closed.
-- BryanEllsaesser - 23 Oct 2007