Menu

#1 Modified QuickForm field templates to allow display inline

open
nobody
None
5
2006-05-15
2006-05-15
No

In Dataface 0.5.3r2 and earlier, there is no easy way to make fields
display inline rather than as blocks because there is no "ID" attribute for
the div tag that wraps a field, so it cannot be easily referenced using CSS.
I have attached modified templates for Dataface_QuickForm_elements
that assigns an ID of <tablename>-<fieldname>-wrapper to these div
tags so that they can be referenced via CSS. E.g., The "FirstName" field in
the table "Profiles" would attach an id of Profiles-FirstName=wrapper to
the div tag that wraps the FirstName field.

To apply this patch, simply download the attached files
(Dataface_QuickForm_element.html, and
Dataface_QuickForm_groupelement.html) and copy them to the Dataface/
templates directory in your dataface installation. You will need to
overwrite the existing versions of these files.

Discussion

  • Steve Hannah

    Steve Hannah - 2006-05-15

    Modified QuickForm element template that includes ID attribute for wrapping div tag.

     
  • Steve Hannah

    Steve Hannah - 2006-05-15

    Modified groupelement template that attaches id to div tag that wraps element.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.