Hi Admin
Me again once again checkout issue
I have noticed that if the checked out field is always required and is not configurable
- when displayed in a form it has a * next to the field
- but if you take a look at the table in the checked out properties box the required option is unchecked
- in the builder in table design view changing the status of required between checked and unchecked has no effect
i believe the workaround (for now) is to adjust or remove the validation property in the relevant layout xml file such as mylayoutname.xml
<fieldset name="mylayoutnameitem.checkout"
addfieldpath="/administrator/components/com_mycookcom/models/fields"
label="MYCOOKCOM_JFORM_CHECK_OUT">
<field name="checked_out_time"
label="MYCOOKCOM_FIELD_CHECKED_OUT_TIME"
alias="checked_out_time"
filter="STRING"
class="validate[custom[timeyyyymmddhhmm]]"
validate="timeyyyymmddhhmm"
type="ckcalendar"
format="%Y-%m-%d %H:%M"/>
<field name="checked_out"
label="MYCOOKCOM_FIELD_CHECKED_OUT_USERNAME"
alias="_checked_out_username"
HERE => required="true"
AND filter="INT"
HERE => class="validate[required]"
listKey="id"
labelKey="username"
type="ckcombo"
nullLabel="MYCOOKCOM_JSEARCH_SELECT_CHECKED_OUT_USERNAME"/>
</fieldset>