Forms can be submitted without any supporting documentation for the claimed reason. All but 5 reasons require documentation. We can't just slap a required on there. But we can use jQuery to add a required element on <textarea id="reason__documentation_field"> if a the selected reason__code demands an explanation. This can be done by modifying the $("input[name='reason__code']").change( function(){}) stanza.
Forms can be submitted without any supporting documentation for the claimed reason. All but 5 reasons require documentation. We can't just slap a
required
on there. But we can use jQuery to add arequired
element on<textarea id="reason__documentation_field">
if a the selectedreason__code
demands an explanation. This can be done by modifying the$("input[name='reason__code']").change( function(){})
stanza.