I'm currently trying to do quite a few things with Channel Form - unfortunately all of a sudden I'm starting to get some odd things happening. Instead of the page submitting nicely the url is doing this:


For some of my channels it is working fine - but as far as I can tell I haven't changed anything for the other ones. If I look at the code produced it seems to be that the action on the generated form tag is creating this error.

Any ideas?


  • Same thing happened to me, I would also appreciate the help.
    – Alexander
    Commented Mar 22, 2016 at 20:41
  • similar issue here but channel forms work fine, I have the issue with zoo visitor new membership foirms Commented Jun 21, 2016 at 13:23
  • Dan, did you ever find a solution to all that junk in the action parameter?
    – Paul
    Commented Oct 18, 2017 at 14:11

1 Answer 1


Ok, so I managed to track down why the action URL was being changed. Turns out if any custom fields are file type then this happens.

Channel_form_lib.php - Line 2195

if (in_array($row['field_type'], $this->file_fields))
    $this->file = TRUE;

And then line 761

if ($this->file)
    $action = $hidden_fields;
    $action_url = $action['RET'];
    $action['ACT'] = ee()->functions->insert_action_ids($action['ACT']);
    $action = $action_url . '?' . http_build_query($action);

In response to the original question, I don't think the action URL is the problem. Rather, somehow you're stopping at that URL rather than being redirected to the return_url. Hopefully this helps someone else since you've probably resolved your issue already.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.