Changes

Jump to: navigation, search

Criteria Template

268 bytes added, 14:51, 16 May 2014
no edit summary
''Example'': Our report prompts the user for two criteria:<br />
 
[[Image:CriteriaTemplate-CriteriaSetInReport.png|link=]]
[[Image:CriteriaTemplate-DefaultCriteria.png|link=]]
However, we want to make the ''Last First Name'' parameter default to the current user's last first name. For this we need to build a custom ''Criteria Template''.
In the [[Creating a Basic Report|Edit Report Page]], we switch to the [[Report Template]] tab and enter the following in the ''Criteria Template'' section:<br />
[[Image:CriteriaTemplate-SampleCriteriaTemplate.png|link=]]
 
Notice that the first criteria is left unchanged. The second criteria is where we create our own HTML input element and define it as the second criteria. The ''value'' is defaulted to the user's first name.<br />
[[Image:CriteriaTemplate-RevisedCriteria.png|link=]]
==Variables==
8,849
edits

Navigation menu