๐ Round-Specific Deadlines on a Single Form
The Problemย
Sometimes one response form serves several application types, and each type has its own deadline. A form only allows one deadline, so setting it on the form itself doesn't work: whichever date you pick will be too early for some applications and too late for others.ย
The goal is to make the form available to each student only until their own application's deadline, and to stop anyone from submitting after it has passed.ย
Building It Step by Stepย
-
Add a subquery filter to the form's access conditions. Give it a clear name, like "Deadline", set the type to dependent subquery and set the aggregate to Formula.ย
-
Join to the student's application and its round. Add a join to Application, then to the application's round. Then add a filter on Application / Round and select the rounds this form should apply to. These will be specific to your setup, so pick the rounds that match the application types using this form.ย
-
Add two exports:ย
-
-
round_date: the round's deadline. In this scenario, the deadline was stored in the export value field in each round's configuration, as month and day only, like 3/15. Because each round has its own export value, each application type can have its own deadline.ย
-
-
-
current_date: the system's current date.ย
-
-
Enter the formula:ย
TRY_CONVERT(date, @round_date + '/2027') >= CAST(@current_date AS date)ย
This checks whether the student's deadline has passed. It adds the year to the round deadline, converts it into a real date, and strips the time from the current date, so the two are compared day to day. If the deadline hasn't passed, the student can open the form. Because the comparison uses "greater than or equal to", students can still get in on the deadline day itself.ย
ย
The finished subquery filter, showing the Formula aggregate, the two exports and the joins. The round list is hidden here; select the rounds that apply to your form.ย
-
Add an access message, for example: "The deadline has passed." Students who don't meet the condition see this instead of the form.ย
-
Repeat the same logic in the submission conditions. Use the same subquery filter and formula, with a message like: "Sorry, the deadline has passed."ย
Tip: avoid updating the year each cycle. The /2027 in the formula has to be changed every cycle. If you store the full date in the round's export value instead (for example, 3/15/2027), you can drop the hard-coded year and simplify the formula to:ย
TRY_CONVERT(date, @round_date) >= CAST(@current_date AS date)ย
You still need the Formula aggregate, because the export value is text and has to be converted to a date before it can be compared.ย
Edge Casesย
-
Students with the form already open. Access conditions only check when the form loads. A student who opened it before the deadline could still be working on it after the deadline passes. The matching submission condition stops them from submitting late.ย
-
Blank or mistyped deadlines. If a round's export value is blank or can't be converted to a date, TRY_CONVERT returns nothing instead of an error. The condition fails and the student is blocked, so a data problem never lets someone in by mistake.ย
Testingย
To test the setup, we temporarily changed the year in the formula to 2025, which put the deadline in the past. As expected, we couldn't open or submit the form. With the year set back to 2027, before the deadline, we could do both.ย
Tip: Changing the year is a quick way to test your conditions without waiting for a real deadline to pass. Just remember to set it back before the form goes live.ย
Resultsย
The setup did what it was designed to do: it limited access to each student's own deadline, whatever their application type, without needing a separate form for each one.ย
Want to dig deeper?ย Technolutions' Access and Submission Conditions article explains how to control who can view or submit a form. Their Using Formulas in Subquery Filters article covers when to use a Formula aggregate and how to reference exports in your formulas. Both are in the Slate Knowledge Base.ย
No comments to display
No comments to display