From SimplyBook.me
Prepared the page for translation |
Marked this version for translation |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
{{#seo: | |||
|title=External Booking Validator custom feature - SimplyBook.me | |||
<translate> | <translate> | ||
<!--T:5--> | |||
|description=Validate bookings with custom script. Check intake form conditions before booking. Requires development skills. Enables external validation logic. | |||
</translate> | </translate> | ||
|titlemode=append | |titlemode=append | ||
|keywords=faq, frequently asked questions, booking software, appointment system questions, appointments online, calendar software, booking system, booking calendar, scheduling software, online appointment scheduling, online scheduling, plugins, custom features, additional functionality, validation, validation script, customization, appointment validation, booking validation | |keywords=faq, frequently asked questions, booking software, appointment system questions, appointments online, calendar software, booking system, booking calendar, scheduling software, online appointment scheduling, online scheduling, plugins, custom features, additional functionality, validation, validation script, customization, appointment validation, booking validation | ||
| Line 11: | Line 13: | ||
<!--T:1--> | |||
[[File:External booking validator icon.png|left]]<br><br>You can validate bookings through the use of an external script. The script can check variables from the booking, and only if conditions fulfilled, the booking is processed. Additionally the validation script can bring back information that can be injected into intake form variables.<br><br> | [[File:External booking validator icon.png|left]]<br><br>You can validate bookings through the use of an external script. The script can check variables from the booking, and only if conditions fulfilled, the booking is processed. Additionally the validation script can bring back information that can be injected into intake form variables.<br><br> | ||
<!--T:2--> | |||
<span style="background-color:#ffe9e9; padding:5px; border-radius:5px;">'''Please note!'''</span><br> | <span style="background-color:#ffe9e9; padding:5px; border-radius:5px;">'''Please note!'''</span><br> | ||
*<span style="background-color:#ffe9e9; padding:5px; border-radius:5px;">Development skills are needed for this feature use.</span><br> | *<span style="background-color:#ffe9e9; padding:5px; border-radius:5px;">Development skills are needed for this feature use.</span><br> | ||
*<span style="background-color:#ffe9e9; padding:5px; border-radius:5px;"><span style="background-color:#cdeffc; padding:5px; border-radius:5px;">[[Special:MyLanguage/Intake_Forms_custom_feature|Intake Forms]]</span> custom feature will be enabled together with this one.</span> | *<span style="background-color:#ffe9e9; padding:5px; border-radius:5px;"><span style="background-color:#cdeffc; padding:5px; border-radius:5px;">[[Special:MyLanguage/Intake_Forms_custom_feature|Intake Forms]]</span> custom feature will be enabled together with this one.</span> | ||
<!--T:6--> | |||
<br><br> | |||
;How it works<br> | |||
When a client submits a booking, SimplyBook.me sends the booking details to your external URL as a JSON POST request. Your script inspects the data and returns a JSON response. If validation passes, the booking is saved. If it fails, the client sees an error message without the booking being confirmed. | |||
<br><br> | |||
<!--T:3--> | |||
;How to use | ;How to use | ||
<!--T:4--> | |||
:1. Enable <span style="background-color:#d4f8e5; padding:5px; border-radius:5px;">External Booking Validator</span> custom feature on your <span style="background-color:#d4f8e5; padding:5px; border-radius:5px;">Custom Features</span> page, <span style="background-color:#d4f8e5; padding:5px; border-radius:5px;">Other</span> section. | :1. Enable <span style="background-color:#d4f8e5; padding:5px; border-radius:5px;">External Booking Validator</span> custom feature on your <span style="background-color:#d4f8e5; padding:5px; border-radius:5px;">Custom Features</span> page, <span style="background-color:#d4f8e5; padding:5px; border-radius:5px;">Other</span> section. | ||
[[File:External booking validator enable path.png|border|center]] | [[File:External booking validator enable path redesigned.png|1200px|border|center|link=https://help.simplybook.me/images/a/ac/External_booking_validator_enable_path_redesigned.png]] | ||
<br><br> | <br><br> | ||
:2. Create your own validation script with your own desired conditions.<br> | :2. Create your own validation script with your own desired conditions.<br> | ||
| Line 28: | Line 39: | ||
<br><br> | <br><br> | ||
:3. Insert your script to this feature <span style="background-color:#d4f8e5; padding:5px; border-radius:5px;">settings</span> on the <span style="background-color:#d4f8e5; padding:5px; border-radius:5px;">Custom Features</span> page and save. | :3. Insert your script to this feature <span style="background-color:#d4f8e5; padding:5px; border-radius:5px;">settings</span> on the <span style="background-color:#d4f8e5; padding:5px; border-radius:5px;">Custom Features</span> page and save. | ||
[[File:External booking validator settings path.png|border|center]] | [[File:External booking validator settings path redesigned.png|1200px|border|center|link=https://help.simplybook.me/images/3/34/External_booking_validator_settings_path_redesigned.png]] | ||
<br><br> | <br><br> | ||
:Script example is available <span style="background-color:#cdeffc; padding:5px; border-radius:5px;">[https://github.com/vetalsimplybook/simplybook-external-validator here].</span> | :Script example is available <span style="background-color:#cdeffc; padding:5px; border-radius:5px;">[https://github.com/vetalsimplybook/simplybook-external-validator here].</span> | ||
<br><br><br><br> | <br><br><br><br> | ||
</translate> | </translate> | ||
Latest revision as of 15:29, 5 April 2026

You can validate bookings through the use of an external script. The script can check variables from the booking, and only if conditions fulfilled, the booking is processed. Additionally the validation script can bring back information that can be injected into intake form variables.
Please note!
- Development skills are needed for this feature use.
- Intake Forms custom feature will be enabled together with this one.
- How it works
When a client submits a booking, SimplyBook.me sends the booking details to your external URL as a JSON POST request. Your script inspects the data and returns a JSON response. If validation passes, the booking is saved. If it fails, the client sees an error message without the booking being confirmed.
- How to use
- 1. Enable External Booking Validator custom feature on your Custom Features page, Other section.

- 2. Create your own validation script with your own desired conditions.
- For example, you may require certain client answers to one or several intake forms for the booking to be submitted to your system.
- 3. Insert your script to this feature settings on the Custom Features page and save.

- Script example is available here.