1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to NULL WP Form Maker plugin? Any idea?!

Discussion in 'Scripting' started by richdaddy7, Jul 29, 2017.

  1. richdaddy7

    richdaddy7 Registered Member

    Joined:
    Jul 5, 2016
    Messages:
    56
    Likes Received:
    3
    Hello, How can I null this plugin: https://srd.wordpress.org/plugins/form-maker

    So it is limited by 7 fields, take a look at the attached picture. I found at the javacsript file this code:

    Code:
    function vorchjogen() {
        is7 = 0;
        for (v = 0; v < 100; v++) {
            if (document.getElementById('wdform_field' + v)) {
                if (document.getElementById('wdform_field' + v).getAttribute("type") != "type_section_break") {
                    is7++;
                }
            }
            if (is7 >= 7) {
                break;
            }
        }
        if (is7 >= 7) {
            alert("The free version is limited up to 7 fields to add. If you need this functionality, you need to buy the commercial version.");
            return true;
        }
        return false;
    }
    So when I change 7 to example 15 nothing happen. I still get this message that I need to upgrade. Also when I look at the code on the browser they stay the same, nothing changing. I hope you understand my issue and thank you for any help.
     

    Attached Files:

  2. SireIke

    SireIke Newbie

    Joined:
    Aug 15, 2017
    Messages:
    1
    Likes Received:
    1
    Gender:
    Male
    Wow...so I was trying to get Form Maker to let me add a 7th field as well. I opened FileSearch lite and searched the error, and saw the oddly named function. I googled it to see what it was and your post popped up LOL. I'm very shocked they don't have any PHP to back up their premium vs free....anyways here's what you do:

    Simply remove the conditions for checking the fields entirely. Don't change the number. Make sure you access the javascript page directly and refresh it before trying to load the page agin

    Code:
    function vorchjogen() {
        is7 = 0;
        for (v = 0; v < 100; v++) {
            if (document.getElementById('wdform_field' + v)) {
                if (document.getElementById('wdform_field' + v).getAttribute("type") != "type_section_break") {
                    is7++;
                }
            }
        }
        return false;
    }
     
    • Thanks Thanks x 1