Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] CHECKED OUT - Required not configurable

[FIXED] CHECKED OUT - Required not configurable 30 Sep 2012 10:46 #4153

  • BTB300
  • BTB300's Avatar
  • Offline
  • Moderator
  • Posts: 415
  • Thank you received: 132
  • Karma: 47
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>
Last Edit: 30 Sep 2012 10:48 by BTB300.
The administrator has disabled public write access.

Re: CHECKED OUT - Required not configurable 03 Oct 2012 13:08 #4232

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Fixed
Coding is now a piece of cake
The administrator has disabled public write access.

Re: CHECKED OUT - Required not configurable 03 Oct 2012 14:40 #4246

  • BTB300
  • BTB300's Avatar
  • Offline
  • Moderator
  • Posts: 415
  • Thank you received: 132
  • Karma: 47
Thank you
The administrator has disabled public write access.
Time to create page: 0.110 seconds

Get Started