I've been tackling a challenge in my Symfony app where I need to transition from the script to the form without causing any page refreshes.
https://i.sstatic.net/xUtA2.png
To prevent the main layout (with both script and form) from reloading, I implemented AJAX. However, I'm unsure how to preserve the form inputs when transitioning to the script section.