[opencms-dev] Checkbox in emailform - No items specified

Lichterfeld, Sven sven.lichterfeld at comundus.com
Tue Jun 3 14:28:22 CEST 2014


Hey Arno,

you must define a Default value. Like „o1:Checkbox|b2:Checkbox“, the | is a seperator for each checkbox. Please, have a look on the Alkacon-Formgenerator documentation.

[cid:image002.png at 01CF7F36.1C9E6D60]

Best regards
_________________________________________

Sven Lichterfeld
Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Arno Nym
Gesendet: Dienstag, 3. Juni 2014 13:59
An: The OpenCms mailing list
Betreff: Re: [opencms-dev] Checkbox in emailform - No items specified


Hi Kai,
where have i to define the checkbox? Do you have an example? My checkbox has the name inputfield-9.
Actual, i added the checkbox in my v8-webform - html under "input fields" (with type = checkbox and the description-text).

arno

Gesendet: Dienstag, 03. Juni 2014 um 12:31 Uhr
Von: "Schliemann, Kai" <K.Schliemann at comundus.com<mailto:K.Schliemann at comundus.com>>
An: "The OpenCms mailing list" <opencms-dev at opencms.org<mailto:opencms-dev at opencms.org>>
Betreff: Re: [opencms-dev] Checkbox in emailform - No items specified
Hi a,
I guess you have to define the names of the checkbox(es) separated by |.
E.g. Checkbox1|Checkbox2|Checkbox3. You can also define the label and value differently. I think it is label1:value1|label2:value2|label3:value3.

HTH
Best regards
Kai

Von: opencms-dev-bounces at opencms.org<mailto:opencms-dev-bounces at opencms.org> [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Arno Nym
Gesendet: Dienstag, 3. Juni 2014 12:24
An: Open CMS
Betreff: [opencms-dev] Checkbox in emailform - No items specified

Hi,
i'm using OpenCMS 8.5.1 and i created a simple webform with an email-formular (i use this formatter: "/system/modules/com.alkacon.opencms.v8.formgenerator/elements/form.jsp").
I want to add a checkbox in this form, but when i call the html i get this error:

<<

The online form can not be displayed

Most likely, the form has not yet been edited or form input fields are not defined.
>>


OpenCMS.log - output:
<<
ERROR [8.formgenerator.CmsFormHandler:1031] org.opencms.configuration.CmsConfigurationException: No items specified for input field "InputField-9" of type "checkbox".
>>

What have i to do in detail?

Thanks
a.
_______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20140603/3c192b70/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 19687 bytes
Desc: image001.png
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20140603/3c192b70/attachment.png>


More information about the opencms-dev mailing list