• Resolved jpgoem

    (@jpgoem)


    Hello,

    I have the following problem.
    My form contains 2 fields: a number and a calculation. The calculation is the number modulo 97.
    The calculation appears correctly in preview of the form, but is incorrect in the front end, and in submissions.
    Here is the form export: https://pastebin.com/iFuQaE9v

    Can you help ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter jpgoem

    (@jpgoem)

    Hello,

    I think I found the problem.
    In the calculation formula :
    {number-1}%97 ==> the formula is saved as {number-1}, resulting in the wrong calculation.
    {number-1}%(97) ==> the formula is saved correctly resulting in the correct calculation.

    The brackets ( ) appear to be mandatory, unlike the other operators + – * / ^

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @jpgoem

    Thank you for the update.

    I was able to replicate this on my lab site, I checked our documentation but we don’t have that as a requirement. I reported this to our developers so we can check if expected and add it to public docs if so.

    Feel free to let us know if you need any further help here.
    Best Regards
    Patrick Freitas

    Plugin Support Zafer – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @jpgoem,

    We haven’t heard from you in a while, I’ll go and mark this thread as resolved. If you have any additional questions or require further help, please let us know!

    Kind regards,
    Zafer

    Thread Starter jpgoem

    (@jpgoem)

    Hi Zafer,

    I was just waiting for some feedback from Patrick about updates on public docs related to this issue.

    Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @jpgoem

    I see we have reported this issue as a bug to our developers and unfortunately, there is no update at the moment. I pinged our SLS Team to see how complex it will be to provide some hotfix. We will post an update here as soon as more information is available.

    Kind Regards,
    Kris

    Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi again @jpgoem

    I have some updates from our SLS Team and there is no hotfix available at the moment. As we have already reported this issue to developers I’m marking this thread as resolved. Please note future updates will contain a fix for that.

    Kind Regards,
    Kris

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.