Actually, Notes will let you have two forms with the same alias - but it will only use the most recently-created!
You really have a choice here: either create two different forms, and, as Pascal suggests, probably get at them using Form Formulas (and, therefore, grabbing documents by way of the...
Also, you'll have to take out the uidoc references - within the form, you're using that to define the current document...and of course, there isn't a current document when you run the agent from the view.
I don't know if you already did this, but try running the action from the view with 'Debug...
I think you're right. So your code would be:
@If(@TexttoNumber(Rating)<=5 & Comments=""; @Failure("You Must Enter Comments if Rating is 5 or lower");@Success)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.