Hi there,
I've got two forms, They are linked with smart classifier
Form Main with some fields
Form Sub with some other fields and a smart classifier linked to form Main (storing id of record of Main)
In Form Main I want to display the count of Sub-Records, belonging to the corresponding record. Is there a way to achieve this?
What I tried so far:
implement IFTTT on Form Sub (on Create/on Delete) and action = Create/Modify Entry. That way I tried to increment / decrement a value of a numeric field of Sub Main. That worked but seems to be over engineered to me. Is there a simpler approach?
I dont think you need an IFTTT or anything like that
Could just use the queryCount function from https://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions
To get always up-to-date number of records matching the criteria
As always, you can use it in the ConfiForms Field macro's field name parameter or via [entry.field_name] notation, if you need it as a "raw" value
Alex
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.