Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon1.gif   How can I configure to prevent empty entries?, posted by Alan Stone on Mon Apr 10 20:28:37 2006 
    icon2.gif   Re: How can I configure to prevent empty entries?, posted by Stefan Ritt on Thu Nov 9 23:10:08 2006 
Message ID: 2064     Entry time: Thu Nov 9 23:10:08 2006     In reply to: 1804
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Linux  ELOG Version: 2.6.1-1684 
Subject: Re: How can I configure to prevent empty entries? 

Alan Stone wrote:
I have accidentally created a couple of entries recently. It is pretty easy. I
fill in the header, type in a Subject, and then hit Enter, instead of TAB.
I have turned off the edit option intentionally.

I want to avoid this in the future. Is there a configuration option which would
confirm that the user before submitting an entry without a Body? I know I can require
attributes like Author and Subject. I am not sure I want to require a Body, in case
someone submits an entry with just an attachment (and a Subject).

Thanks, Alan


Actually the submit/edit behavior is controlled by your browser, not by elog. I do not know any mean of how the HTML code could control this independently of the browser. So you have to get used to it Wink
ELOG V3.1.5-fe60aaf