Dynamic values not changing the HTML code

I’ve pasted a code snippet into an HTML file on my bubble page. It works for the most part. However, there is a part of the code snippet that gives chat GPT a custom prompt as you can see here:

However, I want to add a dynamic value into the AI prompt section so that the users can change the AI prompt themselves on the website. Here’s the PROBLEM: when I add the dynamic value into the ai prompt it does not update. I have tried using input values, custom states, and database types but whatever the value of these elements is when the page loads is what the prompt value ends up being. The dynamic value will not update when you change the input or custom state etc. This essentially is preventing the value from being dynamic and the users cannot create their own AI prompt. Do you know what could be causing this problem and not allowing the dynamic value to update?



If you’re running an script you should consider using the tools that the toolbox offers. Since the HTML is something that is almost hardcode with each page reload, and the run script from toolbox plugin does not share that bevahior

This topic was automatically closed after 70 days. New replies are no longer allowed.