• Resolved monicaamb12

    (@monicaamb12)


    Hello,

    I have added more than one message when the user send the form based on conditionals.

    What I see is that only one of the message appears. For example:

    • On one hand, show this x message when the results are LESS THAN 8 in CALCULATIONS X.
    • And on the other hand, show this y message when the results are LESS THAN 10 in CALCULATIONS Y.

    I think it should appear both messages when submit the form, right?

    However it only shows the first one.

    I was trying without submit (in the same page of questions) and I think is work fine but not when submit.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Saurabh – WPMU DEV Support

    (@wpmudev-support7)

    Hi @monicaamb12

    Hope you are doing fine.

    The After submission Inline message conditions will be displayed for the first condition that is met.

    If you have configured message x to LESS THAN 8 first and next the message y to LESS THAN 10, when you get a value = 5 then just the “LESS THAN 8” condition will be triggered . In case you want message x and y to be displayed for the “LESS THAN 10” condition, then you’ll need to add both messages in the Inline message conditions.

    Summarizing:

    Condition: LESS THAN 8 :
    Inline Message = Message X

    Condition LESS THAN 10
    Inline Message = Message X and Message Y

    Hope this information is helpful.

    Kind regards

    Luis

    Thread Starter monicaamb12

    (@monicaamb12)

    Thank you!

    I will tell you a better example.

    I have 2 calculations type and I have:

    1. Show message x when x calculation it is less than 8

    2. Show message y when y calculation it is less than 10

    And it is only shown 1st message, although y calculation is less than 8.

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @monicaamb12

    This is expected.

    The “After submission” behavior will always be just one. Those rules doesn’t apply in “chain” way – once the first one is met, other are not processed.

    In case of your setup:

    – if X calculation is 10 or more – none of those messages would show up
    – if it’s 8 or 9 it will show the 2nd one becuase the first one is not met (value is NOT less than 8 and is less than 10)
    – if it’s 7 or less, the 1st one will show because value is less then 8 so that rule gets applied and that’s it – nothing more is processed.

    In other words – there can always be ONLY one submission behavior at the time and if there are multiple ones that have overlapping conditions, only the first one that met condition will be used and other will be ignored.

    Kind regards,
    Adam

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @monicaamb12 ,

    We haven’t heard from you for over a week now, so it looks like you don’t have more questions for us.

    Feel free to re-open this topic if needed.

    Kind regards
    Kasia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Calculations based on conditionals when submit’ is closed to new replies.