Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Format Form, posted by Tim Schelfhout on Mon Oct 2 12:55:18 2017 ELOG_Kandidaten.png
    icon2.gif   Re: Format Form, posted by Stefan Ritt on Mon Oct 2 14:58:32 2017 
       icon2.gif   Re: Format Form, posted by Tim Schelfhout on Mon Oct 2 15:20:04 2017 
          icon2.gif   Re: Format Form, posted by Stefan Ritt on Mon Oct 2 15:53:39 2017 
Message ID: 68690     Entry time: Mon Oct 2 14:58:32 2017     In reply to: 68689     Reply to this: 68691
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Windows  ELOG Version: ELOG V3.1.3-fd7 
Subject: Re: Format Form 

The way and entry form can be customized is kind of limited in elog. You can use "format <attribute> = ..." to request a certain width, number of allowed characters and special CSS class (which of course you have to define). If you want a complete custom entry form, have a look here: elog:66909 . This requires however writing your own HTML, CSS and JavaScript.

Stefan

Tim Schelfhout wrote:

Hello there,

I am trying to format my entry form a little bit more practical and readable. I am struggling with the following:

  • Numbers should be standard fields of 3 characters and can only be 3 characters wide (doing this by Format Leeftijd=1, css, 3, 3)
  • Text Entry fields should be max. width of 15 characters ? 

Also struggling with mutliple fields on one line:

  • Can Spacing between fields be controlled?  Even vertical spacing?
  • When omitting the css in the Format syntax, the fieldname and field gets colored dark blue
    .. found via css inspection a part solution using this (Format Leeftijd=1, attribname, 3, 3), but then the value still gets colored dark blue

Also I see that when one formats the entry field in edit mode it shows differently in list mode. (for example set width is not enforced in list mode)

Anyone ?

 

 

ELOG V3.1.5-3fb85fa6