Due to the limitations of Webflow’s ECommerce, I have custom code date and time inputs on my checkout page which are placed together into the extra content field on submission.
On the order confirmation (and email, but I haven’t gotten there yet) I need to display the date and time the customer selected, however it needs to be formatted from its single text input. I intended to simply use JS to get the values and do some string manipulation, but the problem is that the dynamic content loads basically whenever it wants. The result is that my JS executes before the content loads, even with the correct window.onload = … syntax.
Is there some Webflow specific way to execute my JS after the dynamic content has populated? Is this a bug or oversight?