Hide Some Fields In SP Booking - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

Hide Some Fields In SP Booking

Yiannis

Yiannis

Extension 6 months ago

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.

0
11 Answers
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 6 months ago #189552

Hi

Thanks for contacting us. Could you please give me your site URL and also a screenshot of your issue?

-Regards.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 6 months ago #189648

Hi

Use this CSS in your custom.css file

input#dropoff_location{
  display: none;
}
input#dropoff_date{
  display: none; 
}
input#dropoff_time{
    display: none; 
}
0
Yiannis
Yiannis
Accepted Answer
6 months ago #189655

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.

screenshot

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 6 months ago #189656

Could you please give me your super admin access? So that I can check.

0
Yiannis
Yiannis
Accepted Answer
6 months ago #189674

Hello. You can check. Your code has been entered in the template's custom css field.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 6 months ago #189814

Could you please check now?

0
Yiannis
Yiannis
Accepted Answer
6 months ago #189819

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.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 6 months ago #189825

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.

0
Yiannis
Yiannis
Accepted Answer
6 months ago #189832

Hello. I suggest that the SP Booking field "transport" needs the customization like "package".

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 6 months ago #189977

Thanks for your suggestions. I will note it down. You can now close this post by accepting the answer.

0