Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Laura – WPMU DEV Support

    (@wpmudevsupport3)

    Hi @mattmcca,

    Hope this message finds you well, and sorry to hear you are experiencing this issue.

    After checking your code does contain a DB query and with that data performing some actions using jQuery, we are unable to reproduce the error since we also need the form, also, we are not familiar with the usermeta you are getting to perform such calculations.

    Still, are you getting an error in the browser console? If not, could share your form and the code with these variables with fixed values?

    $balanceQuery = 
        $currentCredits = 
        $intitalSetupQuery =
        $intitalSetup = i
        $isUserTerminatedQuery = 
        $userTerminated = 
        $isUserPayAsYouGoQuery = 
        $isUserPayAsYouGo =

    With those variables with fixed values, the form should work on our end. Also, please explain what is the expected out and which fields are affected by this code.

    Best regards,
    Laura

    Thread Starter Mattmcca

    (@mattmcca)

    Hello

    The issue is that some of the buttons before the latest wordpress update where being hidden according to the user’s balance if there exceed a certain amount this is no longer happening. I am using wordpress version 6.5.2 and Version 1.29.3

    Form code

    https://drive.google.com/file/d/1ZTyc6w13Q3vLmQDyVYVoUkY0xU7eV5Uk/view?usp=sharing

    Before in the console i was able to debug the script i cant anymore

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @mattmcca,

    The issue is that some of the buttons before the latest wordpress update where being hidden

    Thanks for the form export, however, we’ll need a bit more information regarding the issues noticed, could you please mention which exact buttons you are referring to? A screenshot would be helpful.

    Also, if you could provide us with demo data for these variables, it would be helpful to better understand the code while testing the form:

    $balanceQuery = 
        $currentCredits = 
        $intitalSetupQuery =
        $intitalSetup = i
        $isUserTerminatedQuery = 
        $userTerminated = 
        $isUserPayAsYouGoQuery = 
        $isUserPayAsYouGo =

    Kind Regards,

    Nithin

    Thread Starter Mattmcca

    (@mattmcca)

    $balanceQuery = 5
        $currentCredits = 5  
        $intitalSetupQuery = 25
        $intitalSetup = i
        $isUserTerminatedQuery = 0
        $userTerminated = false
        $isUserPayAsYouGoQuery = false
        $isUserPayAsYouGo = false

    The issue was the highlighted sections where hidden when meeting certain conditions and the html message being shown this is no longer happening now

    https://drive.google.com/file/d/16MANhIhxW-5jLU6jr_fxCr_3OE_SWprP/view?usp=drive_link

    • This reply was modified 7 months ago by Mattmcca.
    Plugin Support Dmytro – WPMU DEV Support

    (@wpmudevsupport16)

    Hello @mattmcca,

    It looks like the Google Drive link you’ve shared requires access permissions.

    Could you please make it public if possible, or enable access for contact+delegate[at]wpmudev.com so that our techs could check it.

    Looking forward to your reply!

    Best Regards,
    Dmytro

    Thread Starter Mattmcca

    (@mattmcca)

    Hi

    sorry for the late reply, i had given you access to the reply, please advise on this issue please

    Plugin Support Laura – WPMU DEV Support

    (@wpmudevsupport3)

    Hi @mattmcca,

    Sorry for the confusion our contanct+delegate email is not at Google Workplace.

    Still, I sent you a request from my email laura.zeballos[at]xxxxxx.xxx. Could you please check and grant me access? Thank you.

    Best regards,
    Laura

    Thread Starter Mattmcca

    (@mattmcca)

    Yep I had given you access to the file

    Plugin Support Dmytro – WPMU DEV Support

    (@wpmudevsupport16)

    Hello @mattmcca,

    Thank you, I have reviewed the code, and it looks like you may have to adjust jQuery part a bit.

    Could you please test changing the following part:

                $(document).on("after.load.forminator", function (e, id) {
                    if (id === 2002) {

    to:

                $(document).on("after.load.forminator", function (e, id) {
                    var form_id=2002;
    		if (id === form_id) {

    And then also replacing all instances of ${id} with ${form_id} after that.

    Hope this helps. Please let us know if there’s still any issue.

    Best Regards,
    Dmytro

    Thread Starter Mattmcca

    (@mattmcca)

    Hello, thanks for the support that was given, issue was finally resolved

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Forminator Jquery Not Working Anymore with new update’ is closed to new replies.