• Resolved Graicifyd

    (@graicifyd)


    Is there a way for me to check if a user is entering numbers into a field?

    I have 2 calculated fields that are editable.

    For example, I have Fieldname1 and Fieldname2.

    I want fieldname1 (editable calculated field) to return 1 + 2, if user enters a number into fieldname2, that is, if fieldname2 is active.

    I also want fieldname2 (editable calculated field) to return 2 + 2 if fieldname1 is active or user enters a number into it.

    So whichever field is active determines the result.

    Thank you for your support.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @graicifyd

    Your design generates an infinite loop. If the fieldname1 is used in the equation of the fieldname2 field and fieldname2 in the equation of fieldname1, you have generated an infinite loop.

    You can prevent the infinite loop with this design by ticking the checkbox: “If the value is entered manually, no evaluate equation” in their settings. In whose case, only one of the equations would be evaluated.

    Best regards.

    Thread Starter Graicifyd

    (@graicifyd)

    Alright, thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CHECK IF INPUT IS ACTIVE’ is closed to new replies.