• Resolved dorians

    (@dorians)


    Hi
    For now, if not using the calculation button, the form only change price when changinf from one field to another one.
    I would like that the price is calculated each time a key is pressed.
    I saw the parsley option data-parsley-trigger=”change focusout submit”
    I managed to add KEYUP so the validation of the form also occure on KEYUP but not the price calculation refresh.

    I hope im clear enought.
    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author moomooagency

    (@moomooagency)

    Hi,

    As price calculation is happening on backend, firing it on keyup would generate a lot of lengthy ajax requests. That’s why I made it to fire only on field value change.

    In the version 5 we will make price calc in the front end and then it will be on keyup and much faster in general.

    Thread Starter dorians

    (@dorians)

    Hi.
    Thanks for your quick response. Would it still be possible to test it on the backend ? Which files & lines should I change ?
    Thanks a lot

    Plugin Author moomooagency

    (@moomooagency)

    What exactly do you want to test?

    Thread Starter dorians

    (@dorians)

    to make that the calcul will be calculated on each keypress.
    This should be a jquery Events that trigger the ajax call

    Plugin Author moomooagency

    (@moomooagency)

    There is no such setting for switching to making calc on keyup. I cannot tell you which line of code exactly does this. Maybe there even more than one as some things are getting fired in certain order.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Process price calculation KEYPRESS’ is closed to new replies.