I have some button functionality I'm trying to recreate in a mashup.
I can do a select match on year values...
<button type="button" class="btn btn-primary btn-lg btn-block" id = prior3>
Prior 3 Years
</button>
With the JQuery
$("#prior3").click(function() {
app.field("[Service Year]").selectMatch('>2016', false);
});
How would I pass a calculation to the engine, i.e Max(Year), > today()-90....etc