Forum Replies Created

Viewing 15 posts - 1 through 15 (of 62 total)
  • Author
    Posts
  • in reply to: Quform v2 version for iphorm_get_form #33715
    jerkski
    Participant

    Hi Ally, we had emailed you the code for review. Thank you!

    in reply to: Quform v2 version for iphorm_get_form #33696
    jerkski
    Participant

    Hi Ally, I did check out this function, but something is different. When used, it wants to load all entries (1000’s of entries) under form 2. The previous function used to only load the most recently submitted order from the form.

    Am I using the correct function for this? This is what I am trying to achieve, but in Quform v2: https://support.themecatcher.net/forums/topic/use-code-from-html-email-in-a-confirmation-page

    What I had done in the past was use $form = iphorm_get_form(2) in a php/html template that loaded immediately after the form was submitted. That template used iphorm_get_form(2) to display the previously submitted form entry’s labels and values.

    For example, here is what I tried:

    $repository = quform('repository');
    $factory = quform('formFactory');
    $config = $repository->getConfig(2);
    if (is_array($config)) {
        $form = $factory->create($config);
        print_r($form);
    }
    • This reply was modified 3 years, 6 months ago by jerkski.
    • This reply was modified 3 years, 6 months ago by jerkski.
    • This reply was modified 3 years, 6 months ago by jerkski.
    • This reply was modified 3 years, 6 months ago by jerkski.
    in reply to: Quform v2 version for iphorm_get_form #33683
    jerkski
    Participant

    The function used to exist in iphorm-form-builder/includes/common.php, but I do not see a comparable function in Quform v2. Any hints?

    in reply to: Quform v2 version for iphorm_get_form #33679
    jerkski
    Participant

    For example, we previously used $form = iphorm_get_form(2); to access the labels and values in PHP from form with ID 2. How can this be done in Quform v2?

    • This reply was modified 3 years, 6 months ago by jerkski.
    • This reply was modified 3 years, 6 months ago by jerkski.
    in reply to: Verify Hooks ran and returned values on load #33398
    jerkski
    Participant

    I think I am going to try to limit any excessive scripts from loading on my form page first. I just noticed I have some js and ajax calls that don’t need to be there. I’ll reply back as soon as I know its looking better. Thanks Ally!

    • This reply was modified 3 years, 9 months ago by jerkski.
    in reply to: Add clear button to text input fields #33366
    jerkski
    Participant

    Thank you!! That works even better!

    in reply to: Add clear button to text input fields #33349
    jerkski
    Participant

    Thank you for that!

    Interestingly enough, i found another possible method. Setting the input type of the text field to “search”. Do you think that could work with Quform?

    https://stackoverflow.com/a/6258628

    https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search

    • This reply was modified 3 years, 9 months ago by jerkski.
    • This reply was modified 3 years, 9 months ago by jerkski.
    in reply to: URGENT: Chrome 83 Kills Quform v1 Submit #31238
    jerkski
    Participant

    Thank you for finding this! I will report back once we change and test.

    in reply to: URGENT: Chrome 83 Kills Quform v1 Submit #31234
    jerkski
    Participant

    This issue appears to exist in v2 also, although it isn’t the same error: Clicking submit on a test form in v2 says “the response from the server was invalid or malformed”

    Is this being looked at? I noticed the plugin was removed from Codecanyon. I was going to see if any comments were left for similar issues and saw it was removed.

    in reply to: URGENT: Chrome 83 Kills Quform v1 Submit #31233
    jerkski
    Participant

    Just doing some more research, this looks like it is related to the submit button when ajax is enabled on the form. If I disable Ajax, it works, but then I lose a lot of functionality in my form. Do you know what would be the cause of this related to Chrome 83? Again, there is nothing in the chrome console. It just prevents you from clicking submit with a browser alert.

    in reply to: Uncaught ReferenceError: iPhorm is not defined #28781
    jerkski
    Participant

    Problem solved… you may close this again. Found a bit of code hidden in my theme’s custom functions: Commented it out and all good now.

    // function my_quform_scripts($enqueue)
    // {
    // if (!in_array(get_queried_object_id(), array(141, 24, 215)))
    // {
    // $enqueue = false;
    // }
    // return $enqueue;
    // }
    // add_filter(‘iphorm_enqueue_scripts’, ‘my_quform_scripts’);
    // add_filter(‘iphorm_enqueue_styles’, ‘my_quform_scripts’);

    in reply to: Uncaught ReferenceError: iPhorm is not defined #28780
    jerkski
    Participant

    On the good page where Quform loads, this code below exists. On new pages, where I insert Quform and it doesn’t work, it does not exist:

    <script type='text/javascript' src='https://domain.com/wp-content/plugins/iphorm-form-builder/js/jquery.fileupload.min.js?ver=9.18.0'></script>
    <script type='text/javascript'>
    /* <![CDATA[ */
    var iphormL10n = {"error_submitting_form":"An error occurred submitting the form","upload_too_many":"You have attempted to queue too many files","upload_file_type_not_allowed":"This file type is not allowed","upload_file_too_big":"This file exceeds the maximum upload size","invalid_response":"The response from the server was invalid or malformed","ajax_error":"Ajax error","plugin_url":"https:\/\/domain.com\/wp-content\/plugins\/iphorm-form-builder","ajax_url":"https:\/\/domain.com\/wp-admin\/admin-ajax.php","preview_no_submit":"The form cannot be submitted in the preview"};
    /* ]]> */
    </script>
    <script type='text/javascript' src='https://domain.com/wp-content/plugins/iphorm-form-builder/js/jquery.iphorm.js?ver=1.10.0'></script>
    <script type='text/javascript' src='https://domain.com/wp-content/plugins/iphorm-form-builder/js/jquery.form.min.js?ver=3.5.1'></script>
    <script type='text/javascript' src='https://domain.com/wp-content/plugins/iphorm-form-builder/js/jquery.smooth-scroll.min.js?ver=1.7.2'></script>
    <script type='text/javascript' src='https://domain.com/wp-content/plugins/iphorm-form-builder/js/qtip2/jquery.qtip.min.js?ver=2.2.1'></script>
    <script type='text/javascript' src='https://domain.com/wp-content/plugins/iphorm-form-builder/js/uniform/jquery.uniform.min.js?ver=2.1.2'></script>
    <script type='text/javascript' src='https://domain.com/wp-content/plugins/iphorm-form-builder/js/jquery.infieldlabel.min.js?ver=0.1'></script>
    <script type='text/javascript' src='https://domain.com/wp-includes/js/jquery/ui/core.min.js?ver=1.11.4'></script>
    <script type='text/javascript' src='https://domain.com/wp-includes/js/jquery/ui/datepicker.min.js?ver=1.11.4'></script>
    <script type='text/javascript'>
    jQuery(document).ready(function(jQuery){jQuery.datepicker.setDefaults({"closeText":"Close","currentText":"Today","monthNames":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthNamesShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"nextText":"Next","prevText":"Previous","dayNames":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"dayNamesShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dayNamesMin":["S","M","T","W","T","F","S"],"dateFormat":"MM d, yy","firstDay":1,"isRTL":false});});
    </script>
    <script type='text/javascript' src='https://domain.com/wp-content/plugins/iphorm-form-builder/themes/light/rounded.js?ver=1.10.0'></script>
    in reply to: Uncaught TypeError Quform 1.8.2 on WordPress 4.9.8 #28441
    jerkski
    Participant

    I recreated the form from scratch and It now works.

    in reply to: Uncaught TypeError Quform 1.8.2 on WordPress 4.9.8 #28435
    jerkski
    Participant

    I spoke to soon…now I am unable to submit and have the form save. It does not save to entries table or a custom database. Is there a way to troubleshoot this?

    in reply to: Uncaught TypeError Quform 1.8.2 on WordPress 4.9.8 #28429
    jerkski
    Participant

    I have done a lot of testing and found that if I insert the new form on an old page, it works…a new page, and it does not work. So there must be an issue with another plugin and wordpress causing a backward compatibility issue.

    This can be closed, but in case someone else stumbles across this and is still on an older version of Quform and WordPress 4.9.8, there may be compatibility issues on the horizon given the changes to wordpress editor and other plugins. It may be worth the update to Quform 2 and wordpress 5 to avoid any other conflicts.

Viewing 15 posts - 1 through 15 (of 62 total)
Be inspired. © 2025 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy