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

exp:channel:form

How Do I?

Steve Garcia's avatar
Steve Garcia
57 posts
3 years ago
Steve Garcia's avatar Steve Garcia

For your most recent test, you’re submitting a plain HTML form with POST info, redirecting to another page capturing the POST info. It only works if you’re not using templates not registered in EE, but if registered in EE no POST data is sent?

Just checking that I understand.

If the EE registered templates aren’t sending php data, make sure PHP is enabled as ‘output’ in the templates’ settings, both sending and receiving templates. (I’m sure you’ve done this, but just covering bases)

Second thing you can try is submitting an .ajax call in jQuery to another EE template to see if you get any response from the $_POST[] data.

If that’s not working and no POST data is being sent, that is really strange.

Last check, is trying to submit a channel form using json=’yes’ and removing the return= to see if you get any response back at all. It should give you the entry_id if the entry was made.

Also, you may want to try a test using type=”GET” instead of POST to see if the URL is adding all the data.

I’m probably just grasping at straws here but just thinking how I’d be troubleshooting to know what’s working against what isn’t.

       
Steve Garcia's avatar
Steve Garcia
57 posts
3 years ago
Steve Garcia's avatar Steve Garcia

OH! one thing I noticed in your channel form is you’re using return=”/home/”. Change that to template-group/template instead (return=”site/home”) to see if that fixes the return.

       
1 2

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.