Hey,
short question for the queryAndRender function, is something like this possible? I don't get it running:
id.queryAndRender(<From>;<Filter>;([count]);list)
I just want the count of total entries within another form for a specific filter.
Regards,
Michael
Try using queryCount better ;)
Ahh nice, and something like that for example?
id.queryAndRender(<From>;<Filter>;([entry.score])/([count]);list)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Much simpler , see https://wiki.vertuna.com/spaces/CONFIFORMS/pages/2359385/Virtual+functions
id.queryCount(form:pageId,filter)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay the count seems to be simple (thx for that ;)), but I want also do a kind of calculation...
In the other form I refer I have a calculated field "score", now I want calculate the average.
Therefore I was asking for:
id.queryAndRender(<From>;<Filter>;([entry.score])/([count]);list)
Define the form, name the filter and then use the expression to calculate all score divided by the count.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.