Disable/Remove "Notes" Field at Booking Form

  • Xbonize
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
3 months 1 week ago #124814 by Xbonize
Hello,

May I know how to disable/remove "Notes" field at booking form?
Attachments:

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

More
3 months 1 week ago #124937 by Mr. Dam
Replied by Mr. Dam on topic Disable/Remove "Notes" Field at Booking Form
Hi,
Actually, OS Services Booking doesn't have option to turn off field: Notes. But you can remove that field by following below steps:
1. Open file: root -> components -> com_osservicesbooking -> classes -> booking.html.php
2. Find code:
<div class="<?php echo $mapClass['span3'];?> boldtext">
	<?php echo JText::_('OS_NOTES')?>
</div>
<div class="<?php echo $mapClass['span8'];?>">
	<textarea name="notes" id="notes" cols="40" rows="4" class="inputbox"></textarea>
</div>
And remove it
Thanks
Dam

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

  • Xbonize
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
3 months 1 week ago #124941 by Xbonize
Replied by Xbonize on topic Disable/Remove "Notes" Field at Booking Form
I've remove that code and the field Notes was disappear. But now nothing happens when click on submit button.

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

Moderators: Mr. Dam