[opencms-dev] Webform Generator Module some issues

Feuerstein Andreas andreas.feuerstein at solvistas.at
Sat Sep 17 20:48:30 CEST 2011


Hi Andreas,

we can definitely talk about sharing the more accessible code.

Currently I'm kind of struggling trying to add fieldsets. I would like to wrap Input Fields in Fieldsets but I'm not quite sure how I can access them in the .st file. 

Best Regards,
Andreas Feuerstein


-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org im Auftrag von Andreas Zahner
Gesendet: Di 13.09.2011 09:42
An: opencms-dev at opencms.org
Betreff: Re: [opencms-dev] Webform Generator Module some issues
 
Hi Andreas,

I assume you are using Template 3 together with the webform module, 
because the title is rendered by the template, not by the webform module 
itself.

Regarding the other enhancements for accessibility: you can change the 
output HTML to your needs by creating your own String template file (see 
section 8.2 of the documentation).

Have a look at the file 
/system/modules/com.alkacon.opencms.formgenerator/resources/formtemplates/default.st 
and copy it (to another module?) to perform the required changes. Refer 
to the documentation to figure out how to make the webforms use your own 
string template configuration.

It would be nice if you would contribute the resulting accessible HTML 
back to the community.

-- 
Regards,
Andreas.

-------------------
Andreas Zahner

Alkacon Software GmbH  - The OpenCms Experts
http://www.alkacon.com -  http://www.opencms.org

Am 13.09.2011 09:17, schrieb Feuerstein Andreas:
> Hi,
> I'm currently working with the Webform Generator and came along some
> problems:
> - where can I define the output for the title? In my case it's always
> embedded in an <h2> tag - I would need to have this in a <h1> tag.
> - using display: inline-block breaks the form for some browsers
> including IE6
> - the module doesn't use HTML Labels (<label>) at all - this is a real
> accessibility problem. Would be great if you would fix this
> - the module doesn't provide fieldsets (would be a basic feature and is
> also an accessibility problem)
> Thanks for your reply,
> Andreas
>
>
>
>
> _______________________________________________
> 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/mailman/listinfo/opencms-dev

_______________________________________________
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/mailman/listinfo/opencms-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20110917/dc87334a/attachment.htm>


More information about the opencms-dev mailing list