Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

  • BTB300
  • BTB300's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 415
  • Thank you received: 132
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>

Please Log in or Create an account to join the conversation.

Last edit: by BTB300.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fixed
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

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

  • BTB300
  • BTB300's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 415
  • Thank you received: 132
Thank you

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.109 seconds

Real time saver and great Component Builder tool ! I have been developing with J-Cook Pro Component Builder for several months now and can say with all honesty that this product/service is second to none. The product is feature rich and is being improved and added to all the time. Do yourself a favor if you need to build a Joomla! Component then you can do no wrong in trying the product. You will save on time and effort while being able to deliver your project on time. J-Cook pro does the hard work for you you then have the freedom to fully customise the end result for your own needs. 

One word: Awesome.
Edwardcox (JED)
         

Get Started