Title: Multipart Forms Problems
Last modified: August 31, 2016

---

# Multipart Forms Problems

 *  Resolved [waschneider1](https://wordpress.org/support/users/waschneider1/)
 * (@waschneider1)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/multipart-forms-problems/)
 * Hi,
 * I’ve tried the latest cforms version, but somehow it is not possible for users
   to use multipart-forms. After the second form, the user gets redirected to the
   first form.
 * I’ve tried and downloaded older versions of cforms, the last version where multipart-
   forms work is version 14.8. In all newer versions, after the second form – where
   you should be redirected to the third form – the user gets redirected to the 
   first form.
 * [https://wordpress.org/plugins/cforms2/](https://wordpress.org/plugins/cforms2/)

Viewing 14 replies - 16 through 29 (of 29 total)

[←](https://wordpress.org/support/topic/multipart-forms-problems/?output_format=md)
[1](https://wordpress.org/support/topic/multipart-forms-problems/?output_format=md)
2

 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/multipart-forms-problems/page/2/#post-7454298)
 * Mulipart does not use JavaScript, itself, but as this script is loaded… you never
   know. Do you need it anyway? I would suggest you delete it on the Dev.
 *  Thread Starter [waschneider1](https://wordpress.org/support/users/waschneider1/)
 * (@waschneider1)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/multipart-forms-problems/page/2/#post-7454299)
 * It’s deleted on dev.
 * Actually the live version needs it, cause I’ve got one form which is opened as
   a “popup” and there is a form in it which has autoclear activated…
 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/multipart-forms-problems/page/2/#post-7454300)
 * Okay, but you should update the JavaScript to the version you use. If you want
   to speed up my work, you can replace the following files on Dev one by one with
   the 14.8.1 version and test which one causes the form to behave normally:
 * cforms.php
    lib_nonajax.php lib_validate.php
 *  Thread Starter [waschneider1](https://wordpress.org/support/users/waschneider1/)
 * (@waschneider1)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/multipart-forms-problems/page/2/#post-7454301)
 * On Dev: cforms.php from 14.8.1 made the form behave normal
 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/multipart-forms-problems/page/2/#post-7454302)
 * Okay, that is good to know. I changed the only thing that could be responsible
   for the issue. You can [download a version 14.12.1 + this fix](https://github.com/bgermann/cforms2/archive/master.zip).
 * Please report if this fixes your issue.
 *  Thread Starter [waschneider1](https://wordpress.org/support/users/waschneider1/)
 * (@waschneider1)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/multipart-forms-problems/page/2/#post-7454303)
 * hmmm, I’ve uploaded your version but it does not work :/
 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/multipart-forms-problems/page/2/#post-7454304)
 * Can you please add the following in Dev wp-config.php:
 *     ```
       define( 'WP_DEBUG', true );
       define( 'WP_DEBUG_CFORMS2', true );
       define( 'WP_DEBUG_DISPLAY', true );
       ```
   
 * Then I can see which parts of the code are evaluated.
 *  Thread Starter [waschneider1](https://wordpress.org/support/users/waschneider1/)
 * (@waschneider1)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/multipart-forms-problems/page/2/#post-7454305)
 * I’ve added it to the wp-config.php
 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/multipart-forms-problems/page/2/#post-7454306)
 * You can try [1](https://github.com/bgermann/cforms2/archive/cc3f4fcdfe5dcc4cf9bc80a41e488895eb259c7a.zip),
   [2](https://github.com/bgermann/cforms2/archive/abf9bf42668a01661857cb730ca61d1ebf5bc3ca.zip)
   and [3](https://github.com/bgermann/cforms2/archive/978d7c40f0a5ea687b5945a48922e77c03d88836.zip).
 * This is a really odd one 🙁
 *  Thread Starter [waschneider1](https://wordpress.org/support/users/waschneider1/)
 * (@waschneider1)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/multipart-forms-problems/page/2/#post-7454307)
 * [@bgermann](https://wordpress.org/support/users/bgermann/)
 * just tested all versions:
 * 1: works fine
    2: works fine, too 🙂 3: works fine 🙂
 * fyi: on dev, v3 is currently installed
 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/multipart-forms-problems/page/2/#post-7454308)
 * Ok, let me guess: You did not save your forms updating to my fork.
    So the mp_form
   characteristic on your MP forms are `'1'`, but not `true`.
 * The issue is why is `!$isMPform` which is `!'1'` in your case evaluated to `true`?
   I guess this is a change in PHP 7, which you run on your server.
 * I am going to include the change in the next upcoming version. You can use [this download](https://github.com/bgermann/cforms2/archive/master.zip)
   for your production till then.
 *  Thread Starter [waschneider1](https://wordpress.org/support/users/waschneider1/)
 * (@waschneider1)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/multipart-forms-problems/page/2/#post-7454309)
 * No, I did not save the forms, just deleted the plugin files and replaced them
   with your neu files.
 * Should I save the forms or so?
 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/multipart-forms-problems/page/2/#post-7454310)
 * Yes, you should save the forms, because I did not implement a proper database
   migration yet. There are minor tweaks which I made that should not effect correct
   behaviour, but that issue is an example where it does. Probably all the cformsII
   versions from 14.8 onwards will work with the forms being resaved once.
 *  Thread Starter [waschneider1](https://wordpress.org/support/users/waschneider1/)
 * (@waschneider1)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/multipart-forms-problems/page/2/#post-7454311)
 * I just resaved the forms on dev.
 * When I was building the form 2 months ago, I tested the newest version of cforms
   with my form, it did not work, downgraded cforms and tested multipart forms with
   different cforms versions on a seperate test wp install. I rebuild the forms 
   on older cforms versions until I reached 12.8.
 * But it doesn’t matter, it works with your fixed version.
 * Thnaks for the great support 🙂

Viewing 14 replies - 16 through 29 (of 29 total)

[←](https://wordpress.org/support/topic/multipart-forms-problems/?output_format=md)
[1](https://wordpress.org/support/topic/multipart-forms-problems/?output_format=md)
2

The topic ‘Multipart Forms Problems’ is closed to new replies.

 * ![](https://ps.w.org/cforms2/assets/icon-128x128.png?rev=1010031)
 * [cformsII](https://wordpress.org/plugins/cforms2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cforms2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cforms2/)
 * [Active Topics](https://wordpress.org/support/plugin/cforms2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cforms2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cforms2/reviews/)

## Tags

 * [multipart](https://wordpress.org/support/topic-tag/multipart/)

 * 29 replies
 * 3 participants
 * Last reply from: [waschneider1](https://wordpress.org/support/users/waschneider1/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/multipart-forms-problems/page/2/#post-7454311)
 * Status: resolved