Date and time in Web Form Builder -...

User 2982483 Photo


Registered User
43 posts

Error log is blank.
User 187934 Photo


Senior Advisor
20,223 posts

Did you enter the database info on the time-drop-down.php?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2982483 Photo


Registered User
43 posts

Ahh, my mistake. Thought I had but I hadn't. All good.

Thanks for all the time you put in on this Eric, really is much appreciated.
User 2982483 Photo


Registered User
43 posts

Eric, I'm back.Sorry.

So a couple of things.
I need to have a ten minute interval between each booking, is this possible? eg: 8.00-9.00 9.10 - 9.20 and so on up until 6.00pm.

Also I'm setting up 4 subscription forms each one set to different days of the week, Monday, Wednesday, Friday, and Saturday, and two more setup like the original covering Thursday and Tuesday.
I'm guessing this would mean having the 'script' altered for each form that was added in the header and having different versions of the 'time-drop-down.php?

Thank you again.
User 187934 Photo


Senior Advisor
20,223 posts

It's possible but It was a waste of time to do the other script since this one is way different of a need. I'm really busy at work so It may take a while. You may want to try a booking script.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2982483 Photo


Registered User
43 posts

No worries Eric, thanks again for all your work it was much appreciated.
User 187934 Photo


Senior Advisor
20,223 posts

Try changing the
$minutes = 60;
to
$minutes = 70;
in the time-drop-down.php
I guess that would work. We're only using the start time so in theory the appointment would be 70 minutes. 60 for the appointment and 10 for break.
Do the same for your time-drop-down.php in your blocker form.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2982483 Photo


Registered User
43 posts

Thanks Eric, I wondered about that myself.

Quick question, I'm building 4 separate forms for the subscriptions, could I point each one to a different table in the db say mon, tue, wed, thu, fri, sat and set up 6 different versions of the 'time-drop-down.php' referencing each table?

I don't want you to do anymore, I just wanted to know if the above may be possible.

Thanks again.
User 187934 Photo


Senior Advisor
20,223 posts

Yes, link each form to a different table in the same database. Adjust the scripts to use the correct table and the js script within the form to point at each time-drop-down.php.
What I would do to keep things tidy is to make a separate time-drop-down.php for each one and keep them in the same location to make it easy to alter when needed.
time-drop-down-formname1.php
time-drop-down-formname2.php

and so on.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2982483 Photo


Registered User
43 posts

Brilliant and thank you. I'm on it.

Without taken up to much more of your time, is it possible for me to disable dates within the script that don't fall on the subscription day for that particular form? something within the 'function Unavailable(date)'?

Thanks again Eric.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.