** The documentation says somthing about the availability of a check box as one of the input types. **
Yes it does. This is Matt's (CalendarScript's author) reply from a prevoius forum message:
quote:
A Checkbox option used to be in there, but I removed it for several reasons. I will cleanup the docs to correspond to that. Radio buttons were never a supported type. A simple select box can be used in place of both of those options.
I guess Matt hasn't got around to correcting the documentation yet.
It does look like the script has the functions available to deal with them though. You could try editing the add_edit_field.html admin template and adding that option to if it works. I don't know what problems are associated with them.
Find the lines of code in add_edit_field.html :
<TD VALIGN="top"><SELECT NAME="FIELDPROPERTY_type">
<OPTION VALUE=""></OPTION>
<OPTION VALUE="text" <%=(($record->{type} eq "text")?"SELECTED":"")%>>Text</OPTION>
<OPTION VALUE="password" <%=(($record->{type} eq "password")?"SELECTED":"")%>>Password</OPTION>
<OPTION VALUE="textarea" <%=(($record->{type} eq "textarea")?"SELECTED":"")%>>Textarea</OPTION>
<OPTION VALUE="select" <%=(($record->{type} eq "select")?"SELECTED":"")%>>Selectbox</OPTION>
</SELECT>
and adding
<OPTION VALUE="select" <%=(($record->{type} eq "checkbox")?"CHECKED":"")%>>Checkbox</OPTION>
before the </SELECT>
Again, this is untested.
Dan O.
------------------