@Override
public String createPaperFormHTML(ElementParameter elemParam) {
StringBuffer out = new StringBuffer();
LanguageHandler lang = LanguageHandler.getInstance();
InputObjectTexts obj = lang.getInputObjectTexts(elemParam.getLangId(),
getName(), getListBoxId());
Calendar checkDate1 = elemParam.getCalendar();
out.append("<div class=\"PFoptionstable\">\n");
int col = 0;
if (null != obj.getListOptions()
&& null != obj.getListOptions().values()) {
// iterates over listoptions
for (ListOption listObject : obj.getListOptions().values()) {
// is the row within the specified interval
if ((null == listObject.getStartDate() && null == listObject
.getEndDate())
|| ((null == listObject.getStartDate()
|| listObject.getStartDate().before(checkDate1) || listObject