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.056 seconds

I'm playing around with the new mvc and the FORK feature is FANTASTIC!!! it's saving me a lot of time! you are doing a very good job!!

Tomaselli (Forum)  

Get Started