Migrated from Redmine #1412 | Author: Yuhsuan Chiu
Status: New | Priority: Immediate, there is BUG! | Created: 2025-05-12
I am experiencing an issue with the SimplyBook widget when using the “modern” timeline. My script is as follows:
var widget = new SimplybookWidget({
"widget_type": "iframe",
"url": "https://cresclabtest.simplybook.asia",
"theme": "creative",
"theme_settings": {
// ... theme settings ...
},
"timeline": "modern",
"datepicker": "top_calendar",
"is_rtl": false,
"app_config": {
"clear_session": 0,
"allow_switch_to_ada": 0,
"predefined": {
"client": {
"name": "Yuhsuan",
"email": "yuhsuan.chiu@cresclab.com",
"phone": "0912345678"
},
"fields": {
"e6ec51311a27216c7d9ec0b1f10be2d7": "testtesttest"
}
}
}
});
I have encountered three scenarios where the predefined field (line_uid, field UID: e6ec51311a27216c7d9ec0b1f10be2d7) disappears from the booking form:
After reselecting a service:
If I click the “Service” button in the top left corner and select a different service, when I proceed to the booking form, the predefined line_uid field is missing.
After a successful booking and booking another service:
Once a booking is completed, if I click “Back to Service” in the top left and start a new booking, the predefined line_uid field is missing in the new booking form.
Repeatedly navigating back and selecting another service:
If I keep clicking “Back” to return to the service selection (either before or after a booking), and then select a different service, the predefined line_uid field is missing when I reach the booking form.
I have recorded videos demonstrating these issues and posted them on the SimplyBook technical support forum.
Could you please help investigate why the predefined field is not being retained in these scenarios?
Thank you!