@@ -286,18 +286,18 @@ export function TaskForm<S extends z.ZodType<any, any>>(props: TaskFormProps<S>)
286286 type = "string" // 👈 add this line
287287 />
288288 </ div >
289- { /* Anonymous toggle */ }
290- < div className = "w-1/2 mt-4 flex flex-row " >
289+ { /* Anonymous toggles */ }
290+ < div className = "w-1/2 mt-4 flex flex-col gap-3 " >
291291 < label >
292292 < span className = "flex items-center" >
293- Anonymous task{ " " }
293+ Hide task identity in project summary
294294 < InformationCircleIcon
295295 className = "h-4 w-4 ml-2 text-info stroke-2"
296296 data-tooltip-id = "anonymous-info"
297297 />
298298 < Tooltip
299299 id = "anonymous-info"
300- content = "If enabled, task details ( instructions, title) will not be shown in the project summary."
300+ content = "If enabled, the task name and instructions will be replaced with 'Anonymous task' in the project summary download ."
301301 className = "z-[1099] ourtooltips"
302302 />
303303 < Field < boolean > name = "anonymous" type = "checkbox" initialValue = { false } >
@@ -307,6 +307,25 @@ export function TaskForm<S extends z.ZodType<any, any>>(props: TaskFormProps<S>)
307307 </ Field >
308308 </ span >
309309 </ label >
310+ < label >
311+ < span className = "flex items-center" >
312+ Hide form responses in project summary
313+ < InformationCircleIcon
314+ className = "h-4 w-4 ml-2 text-info stroke-2"
315+ data-tooltip-id = "anonymous-responses-info"
316+ />
317+ < Tooltip
318+ id = "anonymous-responses-info"
319+ content = "If enabled, the filled-in form data will be excluded from the project summary. Who completed the task and when will still be tracked."
320+ className = "z-[1099] ourtooltips"
321+ />
322+ < Field < boolean > name = "anonymousResponses" type = "checkbox" initialValue = { false } >
323+ { ( { input } ) => (
324+ < input { ...input } type = "checkbox" className = "toggle toggle-warning ml-4" />
325+ ) }
326+ </ Field >
327+ </ span >
328+ </ label >
310329 </ div >
311330 </ CollapseCard >
312331
0 commit comments