Disable/Remove "Notes" Field at Booking Form

  • Xbonize
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 10 months 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
4 years 10 months 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:
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
  • New Member
  • New Member
More
4 years 10 months 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.

More
3 years 5 months ago #138897 by michael civrny
Replied by michael civrny on topic Disable/Remove "Notes" Field at Booking Form
i have the same question - if I remove the code, I cant submit the form!

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

More
3 years 5 months ago #138898 by Mr. Dam
Replied by Mr. Dam on topic Disable/Remove "Notes" Field at Booking Form
Hi Michael,
You can submit ticket on category: OS Services Booking and provide your site url with super admin account. I will help you to check the problem
Thanks
Dam

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

More
3 years 5 months ago #138900 by michael civrny
Replied by michael civrny on topic Disable/Remove "Notes" Field at Booking Form
done.

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

Moderators: Mr. Dam