Hello.
I am using the "transportation" of SP Booking.
Is there a way to hide some fields in Travel Information like dropoff location, dropoff date and Dropoff time without Javascript errors about missing fields.
Also, I would like the dropoff time to set automatically e.g. after 5 hours of pickup time.
Thank you in advance.
Hide some fields in SP Booking
9 replies
Hi
Thanks for contacting us. Could you please give me your site URL and also a screenshot of your issue?
-Regards.
Hello. The URL is
https://portalgreece.gr/index.php?option=com_spbooking&view=checkout&layout=transport&checkout_for=transport&transport_id=1
Hi
Use this CSS in your custom.css file
input#dropoff_location{
display: none;
}
input#dropoff_date{
display: none;
}
input#dropoff_time{
display: none;
} Hello.
Unfortunately, this code doesn't work.
I see the message:
Dropoff location is required, Dropoff time is required
although these fields doesn't display.
Also, dropoff_date field doesn't hide.
Could you please give me your super admin access? So that I can check.
Hello.
You can check.
Your code has been entered in the template's custom css field.
Could you please check now?
Hello.
I appreciate your help, but the form doesn't work when I click the "continue" button.
Also, I don't want to hide pickup date and warning messages about required fields.
You can then need some customization which is beyond our support policy, I am sorry. You have to go that form file and change the core code, like you have to comment those lines then it will not appear.
Hello.
I suggest that the SP Booking field "transport" needs the customization like "package".
Thanks for your suggestions. I will note it down. You can now close this post by accepting the answer.