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

return parameter not working in channel form

Development and Programming

fensterbaby's avatar
fensterbaby
261 posts
5 years ago
fensterbaby's avatar fensterbaby

I have a channel form with a return parameter set to a template but it does not redirect on submission. It displays a blank page and the url of the form. This was working before so not sure what has changed. thnks Greg

       
Ngon Com's avatar
Ngon Com
14 posts
5 years ago
Ngon Com's avatar Ngon Com

Do you have any required field and show errors code in form?

Or have you try add slash before your template_group?

Ex: return=”/site/ENTRY_ID”

       
fensterbaby's avatar
fensterbaby
261 posts
5 years ago
fensterbaby's avatar fensterbaby

there are required fields but that has caused no issues in the past.

Have used with and without the / in the return, makes no difference

The page generated contains only…

“<pre>”

       
Robin Sowell's avatar
Robin Sowell
13,158 posts
5 years ago
Robin Sowell's avatar Robin Sowell

Does the template you’re redirecting to come up ok when you go there directly? Do you have a pre tag either there or on the page displayed? If you turn on debugging, does it show on the blank page? Hrm- do you have any php in templates?

If that doesn’t help, might be some stray debug.

Can you pull down a copy of your system folder and do a search for <pre>? You want to search the ‘system’ folder- empty the user/cache folder. There are some legit cases, but see if anything shows up in the search module folder or anything suspicious looking in user/addons/.

That’s what I’d do, just to rule things out if nothing else.

       

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.