ZAT theme preview returns different than actual site.
I am trying to dynamically change out the text on the attachment field. I already do this on multiple other forms successfully. The only form with this issue seems to be the default form. I just downloaded a fresh copy of our theme and spun it up in theme preview. If I look at the attachment section, it looks perfect. On the site, not so much. This is making it wildly difficult to troubleshoot.
On the site:
In ZAT:
There are no errors in the console on the form page. My best guess is that the code is not firing in the same order, and something is overriding and putting the default attachment name and helper text, after my code fires to say to use something else, but I have no idea how to get this work or dig into this further. Any suggestions on how I can get this dang default attachment text and description, to stop overriding my custom title and custom (blank) description? Again, I have this functional on literally 5 other forms, there are no errors in the console, and ZAT renders it perfectly, so I'm pretty confident the problem is not with what I wrote but where it's placed, and maybe involves this being a default form?
댓글을 남기려면 로그인하세요.
0 댓글