I have a custom form with a paint layout. The paint layout is being applied twice; once outside of the <form> element, and again once the <form> element has been opened.
I didn't notice this happening until yesterday, so I'm not sure what changed. I suspect it might be something to do with including another bodycopy on the form using %globals_page_contents:1234% and having the layout apply to that bodycopy too. D`:
Has anyone ever had anything like this before? What could be going on?
That looks like what it's doing. Here's the simplified output with a comment for the paint layout, page contents, and nested bodycopy.
The paint layout appears to be applying to the second bodycopy even though it's not applied to the bodycopy itself or the asset to which it belongs.
Thanks for following along. I'm guessing this is a bug and I'm going to have to just work around it, but if anyone has any ideas please let me know.