• Resolved waschneider1

    (@waschneider1)


    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://www.ads-software.com/plugins/cforms2/

Viewing 14 replies - 16 through 29 (of 29 total)
  • Plugin Author bgermann

    (@bgermann)

    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

    (@waschneider1)

    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

    (@bgermann)

    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

    (@waschneider1)

    On Dev: cforms.php from 14.8.1 made the form behave normal

    Plugin Author bgermann

    (@bgermann)

    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.

    Thread Starter waschneider1

    (@waschneider1)

    hmmm, I’ve uploaded your version but it does not work :/

    Plugin Author bgermann

    (@bgermann)

    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

    (@waschneider1)

    I’ve added it to the wp-config.php

    Plugin Author bgermann

    (@bgermann)

    You can try 1, 2 and 3.

    This is a really odd one ??

    Thread Starter waschneider1

    (@waschneider1)

    @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

    (@bgermann)

    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.

    Thread Starter waschneider1

    (@waschneider1)

    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

    (@bgermann)

    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

    (@waschneider1)

    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)
  • The topic ‘Multipart Forms Problems’ is closed to new replies.