I am using a Simple edit layout, applied as part of content container template.
Within this layout, I have some js that is used to hide or display fields depending on the value of a select field.
Everything works fine in edit plus on page load (e.g. when the select field value is changed, fields hide or show accordingly), however once the the page (contents screen) has been saved, it’s almost as if the js code is disabled.
After saving the page, the correct fields are visible (as in the fields are displaying in accordance to the select value prior to pressing the save button), however now when the select value is changed, fields no longer show or hide instantly (changes only take a effect once the page is saved again).
I’m quite certain the issue is not with the js code itself, as I’ve tried bare bones js with just an alert, and the page behaves the same way … and everything works perfectly in the admin interface
Just wondering if anyone knows what would be causing this issue?