This question about Using an extension: Asked

FlexFormPlugin and FormPlugin usage

I am trying to implement some form based topic creation. I implemented some simple ones with DataForms and AutoViewTemplatePlugin. Then I started one with a large form and ran into difficulty in setting up the form, specifically with multiple entries on one line and default radio buttons.

Then I discovered FormPlugin and FlexFormPlugin. With FormPlugin it didn't seem to get enabled, even though it is enabled in my configuration. In System/FormPlugin it also has a red "not enabled" after the Introduction heading. I do not get a form on the topic I have created the form, just the creation text.

With FlexFormPlugin I had more luck, it took my created table and made the form. However, I tried using header="text" or footer="text" and the rendering of the form drastically changed. The form boxes came right after the header and multiple boxes showed up on a line, as it seemed to put as many boxes on a line as would fit. All form boxes were without the name and helper text. The background also changed from gray to white. I also tried to set a radio button with
<Warranty>_default="Yes", but no default was set. I also do not see how to put multiple entries on one line, is there a way?

I also do not see how to create the name of the topic as I did with
 <input type="hidden" name="topic" class="jqWikiWord {source:'#ccaserialnum', prefix:'CCASN'}" /> 
and to put the form and data onto the newly created topic.

It would be nice if the example for FlexFormPlugin covered the use a little more in depth.


-- JonathanS - 12 Jan 2012


QuestionForm edit

Subject Using an extension
Extension FlexFormPlugin
Version Foswiki 1.1.3
Status Asked
Related Topics
Topic revision: r4 - 13 Jan 2012, JonathanS - This page was cached on 20 Mar 2019 - 19:29.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy