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.
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…
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
On Dev: cforms.php from 14.8.1 made the form behave normal
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.
Please report if this fixes your issue.
hmmm, I’ve uploaded your version but it does not work :/
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.
I’ve added it to the wp-config.php
You can try 1, 2 and 3.
This is a really odd one π
@bgermann
just tested all versions:
1: works fine
2: works fine, too π
3: works fine π
fyi: on dev, v3 is currently installed
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 for your production till then.
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?
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.
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 π