Requesting assistance writing a simple TALES expression

I'd like to write a TALES expression. It will be used as a condition for a Content Rule. This condition will evaluate to true when attibuteA and attibuteB of a dexterity content type are filled out (you can assume they are text inputs on the form). I'd like this to be tested whenever these inputs are modified. How can I do this? I cannot find any examples of TALES expressions for Content Rule conditions.

I have never used TALES, TAL, and don't know how to access attribute values from this context.

If you have any questions, please ask.

Thank you for your help.

1 Like

I think this will work:

python: here.attributeA and here.attributeB

Example: https://github.com/eea/eea.meeting/blob/427a22fab48560c59e1e2288f38f23c4f4404314/src/eea/meeting/profiles/default/contentrules.xml#L64

2 Likes

@GhitaB That worked really well! Thank you for helping!

1 Like

@drumm91UWO Great. You are welcome. :slight_smile: