SOLVED !!! removing notes box in Booking Form

More
8 years 1 month ago - 8 years 1 month ago #78073 by Helen
Hi

I am trying to remove the Notes Box in the Booking Form - I have hidden the box with custom.css of
#notes {
display: none;
}

But I am left with the title "Notes" - any ideas where his is or is there another more effective way?
Last edit: 8 years 1 month ago by Mr. Dam.

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

More
8 years 1 month ago #78106 by Mr. Dam
Replied by Mr. Dam on topic removing notes box in Booking Form
Hi,
To remove field Notes in Checkout form, please follow these steps
1. Open file: components > com_osservicesbooking > classes > booking.html.php by Notepad
2. Please find
Code:
<div class="span3 boldtext"> <?php echo JText::_('OS_NOTES')?> </div> <div class="span8"> <textarea name="notes" id="notes" cols="40" rows="4" class="inputbox"></textarea> </div> <div class="clearfix"></div>

and remove it
Code:
<div class="span3 boldtext"> <?php echo JText::_('OS_NOTES');?> </div> <div class="span8"> <?php echo nl2br($note); ?> </div> <div class="clearfix"></div>

and remove it

Good luck
Dam
The following user(s) said Thank You: Helen

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

More
8 years 1 month ago #78134 by Helen
Replied by Helen on topic removing notes box in Booking Form
Many thanks - worked a treat!

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

Moderators: Mr. Dam