Skip to main content

Validation Condition to Know which Item Triggered Validation on Validations with Multiple Items

Completed

Comments

5 comments

  • SSP Automation
    Thank you for your request. It has been scheduled for review by the development team that will get back to you should there be questions.
    (Please note that as we are user-driven we can't guarantee that your request will be met unless it gets many votes and/or fit the product vision)
    Read more about the Feature Request process here
    [Internal Id: 23713]
  • Dave Eubanks

    Update!  I did find the $[CURRENT_ITEM] special keyword and this works in the Validation SQL condition.  To minimize the number of validations and universal functions, I tried to use the $[CURRENT_ITEM] in a Macro Conditional Statement and it did not work.  

    To be clear, this is what I did, that did not work:

    1.  Create a validation that is triggered by multiple Items ("Validating a Field")

    2.  Validation Condition was set to "No condition, just execute function"

    3.  UF macro was created that included IF Conditionals around $[CURRENT_ITEM].

    Does the special keyword $[CURRENT_ITEM] get lost from validation to universal function?

     

  • Rasmus Jensen

    It seems to be working fine as far as I can tell

  • Dave Eubanks

    Rasmus, I had put single quotes around the keyword $[CURRENT_ITEM] per the Boyum manual snippet below.

    Once I removed the single quotes, everything started working.  Thanks for your example above.

  • Rasmus Jensen

    Goo to hear. Will fix sample...

Please sign in to leave a comment.