We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Channel Form Console Error

Development and Programming

Richard Whitmer's avatar
Richard Whitmer
96 posts
about 8 years ago
Richard Whitmer's avatar Richard Whitmer

I’m on EE 3.5.7 trying to add a channel form with some custom fields to a template and I’m getting console errors. I’ve stripped everything down to a bare minimum to try and troubleshoot this:

<!DOCTYPE html>
<html>
<head>
    <title>My Channel Form</title>
     {exp:jquery:script_tag}
</head>
<body>
<div>  
{exp:channel:form channel="news"}
   <input name="title" type="text">
   <input type="submit" value="Submit">
{/exp:channel:form}
</div>
</body>
</html>

This results in a console message of: Uncaught SyntaxError: Unexpected end of input

       
Richard Whitmer's avatar
Richard Whitmer
96 posts
about 8 years ago
Richard Whitmer's avatar Richard Whitmer

It looks like this is a bug with a fix in an upcoming release.

Patch:

https://expressionengine.com/support/bugs/23124/liveurltitle-js-breaks-when-compressed-for-channel-forms

Be sure to clear your browser cache after and set the include_assets parameter=”yes”

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.